Closed Wh00ps13 closed 4 years ago
I tryed the following in my code didn'work.
namespace Model; class User extends \DB\Cortex { use \Validation\Traits\CortexTrait; // ... }
I solved is by moving the use \Validation\Traits\CortexTrait; out of the class so became.
use \Validation\Traits\CortexTrait;
namespace Model; use \Validation\Traits\CortexTrait; class User extends \DB\Cortex { // ... }
Sorry didn't load the trait into autoloader.
I tryed the following in my code didn'work.
I solved is by moving the
use \Validation\Traits\CortexTrait;
out of the class so became.