src/main/php/session/id/WebBoundSessionId.php
private function read()
    {
        if ($this->request->hasParam($this->sessionName)) {
            return $this->request->readParam($this->sessionName)->ifMatches(self::SESSION_ID_REGEX);
        } elseif ($this->request->hasCookie($this->sessionName)) {
            return $this->request->readCookie($this->sessionName)->ifMatches(self::SESSION_ID_REGEX);
        }

        return null;
    }
private function read()
    {
        if ($this->request->hasParam($this->sessionName)) {
            return $this->request->readParam($this->sessionName)->ifMatches(self::SESSION_ID_REGEX);
        } elseif ($this->request->hasCookie($this->sessionName)) {
            return $this->request->readCookie($this->sessionName)->ifMatches(self::SESSION_ID_REGEX);
        }

        return null;
    }
private function read ( ) { if ( $ this -> request -> hasParam ( $ this -> sessionName ) ) { return $ this -> request -> readParam ( $ this -> sessionName ) -> ifMatches ( self :: SESSION_ID_REGEX ) ; } elseif ( $ this -> request -> hasCookie ( $ this -> sessionName ) ) { return $ this -> request -> readCookie ( $ this -> sessionName ) -> ifMatches ( self :: SESSION_ID_REGEX ) ; } return null ; }
reads session id

@return  string|null
reads session id