FileEngine.php
373 Bytes
<?php
namespace Illuminate\View\Engines;
use Illuminate\Contracts\View\Engine;
class FileEngine implements Engine
{
/**
* Get the evaluated contents of the view.
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
return file_get_contents($path);
}
}