Nette\Forms\Controls\CsrfProtection::getSession PHP Méthode

getSession() private méthode

private getSession ( ) : Session
Résultat Nette\Http\Session
    private function getSession()
    {
        if (!$this->session) {
            $this->session = new Nette\Http\Session($this->getForm()->httpRequest, new Nette\Http\Response());
        }
        return $this->session;
    }