-
Notifications
You must be signed in to change notification settings - Fork 11.1k
/
Blade.php
executable file
·36 lines (34 loc) · 1.12 KB
/
Blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
namespace Illuminate\Support\Facades;
/**
* @method static void compile($path = null)
* @method static string getPath()
* @method static void setPath($path)
* @method static string compileString($value)
* @method static string stripParentheses($expression)
* @method static void extend(callable $compiler)
* @method static array getExtensions()
* @method static void if($name, callable $callback)
* @method static bool check($name, ...$parameters)
* @method static void component($path, $alias = null)
* @method static void include($path, $alias = null)
* @method static void directive($name, callable $handler)
* @method static array getCustomDirectives()
* @method static void setEchoFormat($format)
* @method static void withDoubleEncoding()
* @method static void withoutDoubleEncoding()
*
* @see \Illuminate\View\Compilers\BladeCompiler
*/
class Blade extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return static::$app['view']->getEngineResolver()->resolve('blade')->getCompiler();
}
}