Файл: vendor/laravel/framework/src/Illuminate/View/Engines/FileEngine.php
Строк: 36
<?php
namespace IlluminateViewEngines;
use IlluminateContractsViewEngine;
use IlluminateFilesystemFilesystem;
class FileEngine implements Engine
{
/**
* The filesystem instance.
*
* @var IlluminateFilesystemFilesystem
*/
protected $files;
/**
* Create a new file engine instance.
*
* @param IlluminateFilesystemFilesystem $files
* @return void
*/
public function __construct(Filesystem $files)
{
$this->files = $files;
}
/**
* Get the evaluated contents of the view.
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
return $this->files->get($path);
}
}