I am generating a controller by cakebake based on a table called cliente_planos
.
It generates controller methods using always $this->ClientePlanos
, is generating correctly, but no control method works and I found that they only work if I change to $this->Clienteplanos
.
The correct one is $this->ClientePlanos
, but I do not know where to set the bake for it to turn the table cliente_planos
into $this->ClientePlanos
without giving an object error not found.
I'm using cakephp 3 and PHP 5.6.3