Library/Logger/Formatter/CompilerFormatter.php
private function getFileContents($file)
    {
        if (!isset($this->filesContent[$file])) {
            $this->filesContent[$file] = file_exists($file) ? file($file) : [];
        }

        return $this->filesContent[$file];
    }
private function getFileContents($file)
    {
        if (!isset($this->filesContent[$file])) {
            $this->filesContent[$file] = file_exists($file) ? file($file) : [];
        }

        return $this->filesContent[$file];
    }
private function getFileContents ( $ file ) { if ( ! isset ( $ this -> filesContent [ $ file ] ) ) { $ this -> filesContent [ $ file ] = file_exists ( $ file ) ? file ( $ file ) : [ ] ; } return $ this -> filesContent [ $ file ] ; }
Gets the contents of the files that are involved in the log message.

@param string $file File path

@return array
Gets the contents of the files that are involved in the log message .