protected function dumpFile(string $filename)
    {

        if (strlen($filename) > 0 && file_exists($filename) && is_file($filename)) {
            echo file_get_contents($filename);
            return true;
        }

        return false;
    }
protected function dumpFile(string $filename)
    {

        if (strlen($filename) > 0 && file_exists($filename) && is_file($filename)) {
            echo file_get_contents($filename);
            return true;
        }

        return false;
    }
protected function dumpFile ( string $ filename ) { if ( strlen ( $ filename ) > 0 && file_exists ( $ filename ) && is_file ( $ filename ) ) { echo file_get_contents ( $ filename ) ; return true ; } return false ; }
Basic functionality to dump a file to the output stream.
@param string $filename File Name of file to be dumped.
@return bool Returns true if $filename exits and is a valid file and is dumped.
Basic functionality to dump a file to the output stream .