public function read($session_id)
    {
        $session = $this->sessions()
            ->where('id', $session_id)->first();

        if (is_null($session)) {
            return '';
        }

        return $session->data;
    }
public function read($session_id)
    {
        $session = $this->sessions()
            ->where('id', $session_id)->first();

        if (is_null($session)) {
            return '';
        }

        return $session->data;
    }
public function read ( $ session_id ) { $ session = $ this -> sessions ( ) -> where ( 'id' , $ session_id ) -> first ( ) ; if ( is_null ( $ session ) ) { return '' ; } return $ session -> data ; }
Read the session information

@param string $session_id
@return string|void
Read the session information