| 1 | <?php  | 
            ||
| 7 | class Basic implements MenuRender  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var Container  | 
            ||
| 11 | */  | 
            ||
| 12 | protected $container;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var array  | 
            ||
| 16 | */  | 
            ||
| 17 | protected $variables = [];  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * @var string  | 
            ||
| 21 | */  | 
            ||
| 22 | protected $view;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @inheritDoc  | 
            ||
| 26 | */  | 
            ||
| 27 | 20 | public function __construct(Container $container)  | 
            |
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * @inheritDoc  | 
            ||
| 34 | */  | 
            ||
| 35 | 5 | public function make($view)  | 
            |
| 47 | |||
| 48 | /**  | 
            ||
| 49 | * @inheritDoc  | 
            ||
| 50 | */  | 
            ||
| 51 | 5 | public function with($params, $value = null)  | 
            |
| 63 | |||
| 64 | /**  | 
            ||
| 65 | * @inheritDoc  | 
            ||
| 66 | */  | 
            ||
| 67 | 5 | public function render()  | 
            |
| 75 | |||
| 76 | /**  | 
            ||
| 77 | * @inheritDoc  | 
            ||
| 78 | */  | 
            ||
| 79 | 20 | public function exists($view)  | 
            |
| 84 | |||
| 85 | /**  | 
            ||
| 86 | * @param string $view  | 
            ||
| 87 | * @return bool|string  | 
            ||
| 88 | */  | 
            ||
| 89 | 20 | protected function findFullPath($view)  | 
            |
| 102 | |||
| 103 | /**  | 
            ||
| 104 | * @param string $view  | 
            ||
| 105 | * @return string  | 
            ||
| 106 | */  | 
            ||
| 107 | 20 | protected function replaceNameFromBlade($view)  | 
            |
| 111 | }  |