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