在以下验证中,我想包括MasterComponent函数值。
验证
namespace App\Model\Validation;
use Cake\Validation\Validation;
use Cake\Validation\Validator;
class CustomValidation extends Validation
{
组件
namespace App\Controller\Component;
use Cake\Controller\Component;
use Cake\Controller\ComponentRegistry;
/**
* Master component
*/
class MasterComponent extends Component {
先谢谢您