src/Adapter/PhpFilesystemAdapter.php
/**
     * Read's and return's the content of the file with the passed name as array.
     *
     * @param string $filename The name of the file to return its content for
     *
     * @return array The content of the file as array
     * @throws \Exception  Is thrown, if the file is not accessible
     * @link https://php.net/file
     */
Read's and return's the content of the file with the passed name as array.
@param string $filename The name of the file to return its content for


Read ' s and return ' s the content of the file with the passed name as array . @param string $filename The name of the file to return its content for
public function read($filename)
    {
        if ($content = file($filename)) {
            return $content;
        }
        throw new \Exception(sprintf('Can\'t read the content of file "%s"', $filename));
    }
public function read ( $ filename ) { if ( $ content = file ( $ filename ) ) { return $ content ; } throw new \ Exception ( sprintf ( 'Can\'t read the content of file "%s"' , $ filename ) ) ; }
Read's and return's the content of the file with the passed name as array.
Read ' s and return ' s the content of the file with the passed name as array .
// read the content of the file and return it // throw an exception if the content of the file is not accessible