Neos\Flow\Session\TransientSession::getTags PHP Méthode

getTags() public méthode

Returns the tags this session has been tagged with.
public getTags ( ) : array
Résultat array The tags or an empty array if there aren't any
    public function getTags()
    {
        if ($this->started !== true) {
            throw new Exception\SessionNotStartedException('The session has not been started yet.', 1422551050);
        }
        return array_keys($this->tags);
    }