Google News
logo
CakePHP - Interview Questions
How can we create validator in the controller?
We can create validator in controller by using given command :
use Cake\Validation\Validator;  

$validator = new Validator();
Advertisement