View.php 1018B

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