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