Pipeline.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @method static \Illuminate\Pipeline\Pipeline send(mixed $passable)
  5. * @method static \Illuminate\Pipeline\Pipeline through(array|mixed $pipes)
  6. * @method static \Illuminate\Pipeline\Pipeline pipe(array|mixed $pipes)
  7. * @method static \Illuminate\Pipeline\Pipeline via(string $method)
  8. * @method static mixed then(\Closure $destination)
  9. * @method static mixed thenReturn()
  10. * @method static \Illuminate\Pipeline\Pipeline setContainer(\Illuminate\Contracts\Container\Container $container)
  11. * @method static \Illuminate\Pipeline\Pipeline|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
  12. * @method static \Illuminate\Pipeline\Pipeline|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
  13. *
  14. * @see \Illuminate\Pipeline\Pipeline
  15. */
  16. class Pipeline extends Facade
  17. {
  18. /**
  19. * Indicates if the resolved instance should be cached.
  20. *
  21. * @var bool
  22. */
  23. protected static $cached = false;
  24. /**
  25. * Get the registered name of the component.
  26. *
  27. * @return string
  28. */
  29. protected static function getFacadeAccessor()
  30. {
  31. return 'pipeline';
  32. }
  33. }