public function read()
    {
        $contents = false;

        if ($this->isFile() && $this->isReadable()) {
            $contents = file_get_contents($this->realPath);
        }

        return $contents;
    }
public function read()
    {
        $contents = false;

        if ($this->isFile() && $this->isReadable()) {
            $contents = file_get_contents($this->realPath);
        }

        return $contents;
    }
public function read ( ) { $ contents = false ; if ( $ this -> isFile ( ) && $ this -> isReadable ( ) ) { $ contents = file_get_contents ( $ this -> realPath ) ; } return $ contents ; }
Read the file contents, based on PHP file_get_contents function
This function will return a string containing the contents,
or FALSE on failure.

@return bool|string
Read the file contents based on PHP file_get_contents function This function will return a string containing the contents or FALSE on failure .