Neos\Flow\Session\Session::getId PHP Méthode

getId() public méthode

Returns the current session identifier
public getId ( ) : string
Résultat string The current session identifier
    public function getId()
    {
        if ($this->started !== true) {
            throw new Exception\SessionNotStartedException('Tried to retrieve the session identifier, but the session has not been started yet.)', 1351171517);
        }
        return $this->sessionIdentifier;
    }