public function read()
    {
        if (!$this->isOpen()) {
            $this->open();
        }

        $this->stream = fopen($this->lock_filename, 'r');

        $content = stream_get_contents($this->stream);

        $this->close();

        return $content;
    }
public function read()
    {
        if (!$this->isOpen()) {
            $this->open();
        }

        $this->stream = fopen($this->lock_filename, 'r');

        $content = stream_get_contents($this->stream);

        $this->close();

        return $content;
    }
public function read ( ) { if ( ! $ this -> isOpen ( ) ) { $ this -> open ( ) ; } $ this -> stream = fopen ( $ this -> lock_filename , 'r' ) ; $ content = stream_get_contents ( $ this -> stream ) ; $ this -> close ( ) ; return $ content ; }
Read content of temp

@return string|null
Read content of temp