src/FileReader.php
public function read($filePath)
    {
        if ('php://stdin' === $filePath) {
            if (null === $this->stdinContent) {
                $this->stdinContent = $this->readRaw($filePath);
            }

            return $this->stdinContent;
        }

        return $this->readRaw($filePath);
    }
public function read($filePath)
    {
        if ('php://stdin' === $filePath) {
            if (null === $this->stdinContent) {
                $this->stdinContent = $this->readRaw($filePath);
            }

            return $this->stdinContent;
        }

        return $this->readRaw($filePath);
    }
public function read ( $ filePath ) { if ( 'php://stdin' === $ filePath ) { if ( null === $ this -> stdinContent ) { $ this -> stdinContent = $ this -> readRaw ( $ filePath ) ; } return $ this -> stdinContent ; } return $ this -> readRaw ( $ filePath ) ; }
@param string $filePath

@return string
@param string $filePath