21 lines
373 B
PHP
21 lines
373 B
PHP
<?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);
|
|
}
|
|
}
|