Neos\Flow\Session\SessionManager::getCurrentSession PHP Méthode

getCurrentSession() public méthode

Returns the currently active session which stores session data for the current HTTP request on this local system.
public getCurrentSession ( ) : Neos\Flow\Session\SessionInterface
Résultat Neos\Flow\Session\SessionInterface
    public function getCurrentSession()
    {
        if ($this->currentSession === null) {
            $this->currentSession = new Session();
        }
        return $this->currentSession;
    }