Phrozn/Provider/LoadFromFile.php
public function get()
    {
        $config = $this->getConfig();
        if (!isset($config['input'])) {
            throw new \RuntimeException('No input file provided.');
        }
        $path = $this->getProjectPath() . '/' . $config['input'];
        if (!is_readable($path)) {
            throw new \RuntimeException(sprintf('Input file "%s" not found.', $path));
        }
        return file_get_contents($path);
    }
public function get()
    {
        $config = $this->getConfig();
        if (!isset($config['input'])) {
            throw new \RuntimeException('No input file provided.');
        }
        $path = $this->getProjectPath() . '/' . $config['input'];
        if (!is_readable($path)) {
            throw new \RuntimeException(sprintf('Input file "%s" not found.', $path));
        }
        return file_get_contents($path);
    }
public function get ( ) { $ config = $ this -> getConfig ( ) ; if ( ! isset ( $ config [ 'input' ] ) ) { throw new \ RuntimeException ( 'No input file provided.' ) ; } $ path = $ this -> getProjectPath ( ) . '/' . $ config [ 'input' ] ; if ( ! is_readable ( $ path ) ) { throw new \ RuntimeException ( sprintf ( 'Input file "%s" not found.' , $ path ) ) ; } return file_get_contents ( $ path ) ; }
Get generated content

@return mixed
Get generated content