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

getSession() 개인적인 메소드

private getSession ( ) : Session
리턴 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;
    }