Nette\Forms\Controls\CsrfProtection::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( $message )
    public function __construct($message)
    {
        parent::__construct();
        $this->setOmitted()->setRequired()->addRule(self::PROTECTION, $message);
        $this->monitor(Nette\Application\UI\Presenter::class);
    }