File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Wpb \String_Blade_Compiler \Facades ;
4+
5+ use Illuminate \Support \Facades \Facade ;
6+ use Wpb \String_Blade_Compiler \Compilers \StringBladeCompiler ;
7+
8+ /**
9+ * @method static bool exists(string $view)
10+ * @method static \Illuminate\Contracts\View\View file(string $path, array $data = [], array $mergeData = [])
11+ * @method static \Illuminate\Contracts\View\View make(string $view, array $data = [], array $mergeData = [])
12+ * @method static mixed share(array|string $key, $value = null)
13+ * @method static array composer(array|string $views, \Closure|string $callback)
14+ * @method static array creator(array|string $views, \Closure|string $callback)
15+ * @method static \Illuminate\Contracts\View\Factory addNamespace(string $namespace, string|array $hints)
16+ * @method static \Illuminate\Contracts\View\Factory replaceNamespace(string $namespace, string|array $hints)
17+ *
18+ * @see StringBladeCompiler
19+ */
20+ class StringBlade extends Facade
21+ {
22+ /**
23+ * Get the registered name of the component.
24+ *
25+ * @return string
26+ */
27+ protected static function getFacadeAccessor ()
28+ {
29+ return app ('view ' )->getEngineResolver ()->resolve ('stringblade ' )->getCompiler ();
30+ //return static::$app['view']->getEngineResolver()->resolve('stringblade')->getCompiler();
31+ }
32+ }
You can’t perform that action at this time.
0 commit comments