| 148 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
namespace Illuminate\Support\Facades;
|
|
|
4 |
|
|
|
5 |
/**
|
|
|
6 |
* @method static void compile(string|null $path = null)
|
|
|
7 |
* @method static string getPath()
|
|
|
8 |
* @method static void setPath(string $path)
|
|
|
9 |
* @method static string compileString(string $value)
|
|
|
10 |
* @method static string render(string $string, array $data = [], bool $deleteCachedView = false)
|
|
|
11 |
* @method static string renderComponent(\Illuminate\View\Component $component)
|
|
|
12 |
* @method static string stripParentheses(string $expression)
|
|
|
13 |
* @method static void extend(callable $compiler)
|
|
|
14 |
* @method static array getExtensions()
|
|
|
15 |
* @method static void if(string $name, callable $callback)
|
| 621 |
lars |
16 |
* @method static bool check(string $name, mixed ...$parameters)
|
| 148 |
lars |
17 |
* @method static void component(string $class, string|null $alias = null, string $prefix = '')
|
|
|
18 |
* @method static void components(array $components, string $prefix = '')
|
|
|
19 |
* @method static array getClassComponentAliases()
|
|
|
20 |
* @method static void anonymousComponentPath(string $path, string|null $prefix = null)
|
|
|
21 |
* @method static void anonymousComponentNamespace(string $directory, string|null $prefix = null)
|
|
|
22 |
* @method static void componentNamespace(string $namespace, string $prefix)
|
|
|
23 |
* @method static array getAnonymousComponentPaths()
|
|
|
24 |
* @method static array getAnonymousComponentNamespaces()
|
|
|
25 |
* @method static array getClassComponentNamespaces()
|
|
|
26 |
* @method static void aliasComponent(string $path, string|null $alias = null)
|
|
|
27 |
* @method static void include(string $path, string|null $alias = null)
|
|
|
28 |
* @method static void aliasInclude(string $path, string|null $alias = null)
|
|
|
29 |
* @method static void directive(string $name, callable $handler)
|
|
|
30 |
* @method static array getCustomDirectives()
|
|
|
31 |
* @method static void precompiler(callable $precompiler)
|
|
|
32 |
* @method static void setEchoFormat(string $format)
|
|
|
33 |
* @method static void withDoubleEncoding()
|
|
|
34 |
* @method static void withoutDoubleEncoding()
|
|
|
35 |
* @method static void withoutComponentTags()
|
|
|
36 |
* @method static string getCompiledPath(string $path)
|
|
|
37 |
* @method static bool isExpired(string $path)
|
|
|
38 |
* @method static string newComponentHash(string $component)
|
|
|
39 |
* @method static string compileClassComponentOpening(string $component, string $alias, string $data, string $hash)
|
|
|
40 |
* @method static string compileEndComponentClass()
|
|
|
41 |
* @method static mixed sanitizeComponentAttribute(mixed $value)
|
|
|
42 |
* @method static string compileEndOnce()
|
|
|
43 |
* @method static void stringable(string|callable $class, callable|null $handler = null)
|
|
|
44 |
* @method static string compileEchos(string $value)
|
|
|
45 |
* @method static string applyEchoHandler(string $value)
|
|
|
46 |
*
|
|
|
47 |
* @see \Illuminate\View\Compilers\BladeCompiler
|
|
|
48 |
*/
|
|
|
49 |
class Blade extends Facade
|
|
|
50 |
{
|
|
|
51 |
/**
|
|
|
52 |
* Get the registered name of the component.
|
|
|
53 |
*
|
|
|
54 |
* @return string
|
|
|
55 |
*/
|
|
|
56 |
protected static function getFacadeAccessor()
|
|
|
57 |
{
|
|
|
58 |
return 'blade.compiler';
|
|
|
59 |
}
|
|
|
60 |
}
|