View.php 1.3 KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @method static \Illuminate\Contracts\View\Factory addNamespace(string $namespace, string|array $hints)
  5. * @method static \Illuminate\Contracts\View\View first(array $views, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = [])
  6. * @method static \Illuminate\Contracts\View\Factory replaceNamespace(string $namespace, string|array $hints)
  7. * @method static \Illuminate\Contracts\View\Factory addExtension(string $extension, string $engine, \Closure|null $resolver = null)
  8. * @method static \Illuminate\Contracts\View\View file(string $path, array $data = [], array $mergeData = [])
  9. * @method static \Illuminate\Contracts\View\View make(string $view, array $data = [], array $mergeData = [])
  10. * @method static array composer(array|string $views, \Closure|string $callback)
  11. * @method static array creator(array|string $views, \Closure|string $callback)
  12. * @method static bool exists(string $view)
  13. * @method static mixed share(array|string $key, $value = null)
  14. *
  15. * @see \Illuminate\View\Factory
  16. */
  17. class View extends Facade
  18. {
  19. /**
  20. * Get the registered name of the component.
  21. *
  22. * @return string
  23. */
  24. protected static function getFacadeAccessor()
  25. {
  26. return 'view';
  27. }
  28. }