src/Provider/SessionTimeProvider.php
private function getFormTime(string $name): ?DateTime
    {
        $key = $this->getSessionKey($name);

        if ($this->hasFormProtection($name)) {
            return $this->session->get($key);
        }

        return null;
    }
private function getFormTime(string $name): ?DateTime
    {
        $key = $this->getSessionKey($name);

        if ($this->hasFormProtection($name)) {
            return $this->session->get($key);
        }

        return null;
    }
private function getFormTime ( string $ name ) : ? DateTime { $ key = $ this -> getSessionKey ( $ name ) ; if ( $ this -> hasFormProtection ( $ name ) ) { return $ this -> session -> get ( $ key ) ; } return null ; }
Gets the form time for specified form.

@param string $name Name of form to get

@return DateTime|null
Gets the form time for specified form .