src/PeekAndPoke/Aviator/Session/NativeSessionHandler.php
public function read($id)
    {
        $path = $this->getPath($id);

        if (! file_exists($path)) {
            return '';
        }

        if (filemtime($path) < time() - $this->lifeTime) {
            return '';
        }

        return file_get_contents($path);
    }
public function read($id)
    {
        $path = $this->getPath($id);

        if (! file_exists($path)) {
            return '';
        }

        if (filemtime($path) < time() - $this->lifeTime) {
            return '';
        }

        return file_get_contents($path);
    }
public function read ( $ id ) { $ path = $ this -> getPath ( $ id ) ; if ( ! file_exists ( $ path ) ) { return '' ; } if ( filemtime ( $ path ) < time ( ) - $ this -> lifeTime ) { return '' ; } return file_get_contents ( $ path ) ; }
Read session data

@param string $id

@return string
Read session data