Bluz\Session\Session::getName PHP Method

getName() public method

Proxies to {@link session_name()}.
public getName ( ) : string
return string
    public function getName()
    {
        if (null === $this->name) {
            // If we're grabbing via session_name(), we don't need our
            // validation routine; additionally, calling setName() after
            // session_start() can lead to issues, and often we just need the name
            // in order to do things such as setting cookies.
            $this->name = session_name();
        }
        return $this->name;
    }