Blade.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @method static array getClassComponentAliases()
  5. * @method static array getCustomDirectives()
  6. * @method static array getExtensions()
  7. * @method static bool check(string $name, array ...$parameters)
  8. * @method static string compileString(string $value)
  9. * @method static string render(string $string, array $data = [], bool $deleteCachedView = false)
  10. * @method static string renderComponent(\Illuminate\View\Component $component)
  11. * @method static string getPath()
  12. * @method static string stripParentheses(string $expression)
  13. * @method static void aliasComponent(string $path, string|null $alias = null)
  14. * @method static void aliasInclude(string $path, string|null $alias = null)
  15. * @method static void compile(string|null $path = null)
  16. * @method static void component(string $class, string|null $alias = null, string $prefix = '')
  17. * @method static void components(array $components, string $prefix = '')
  18. * @method static void componentNamespace(string $namespace, string $prefix)
  19. * @method static void directive(string $name, callable $handler)
  20. * @method static void extend(callable $compiler)
  21. * @method static void if(string $name, callable $callback)
  22. * @method static void include(string $path, string|null $alias = null)
  23. * @method static void precompiler(callable $precompiler)
  24. * @method static void setEchoFormat(string $format)
  25. * @method static void setPath(string $path)
  26. * @method static void withDoubleEncoding()
  27. * @method static void withoutComponentTags()
  28. * @method static void withoutDoubleEncoding()
  29. * @method static void stringable(string|callable $class, callable|null $handler = null)
  30. *
  31. * @see \Illuminate\View\Compilers\BladeCompiler
  32. */
  33. class Blade extends Facade
  34. {
  35. /**
  36. * Get the registered name of the component.
  37. *
  38. * @return string
  39. */
  40. protected static function getFacadeAccessor()
  41. {
  42. return 'blade.compiler';
  43. }
  44. }