-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10.x] Adding Pipeline Facade (#46271)
* feat: added in pipeline facade, added singleton binding * Changed singleton to simple bind * chore: disabled caching of instance on pipeline facade, added in docblocks * formatting * Update facade docblocks --------- Co-authored-by: jaetooledev <jaetooledev@gmail.com> Co-authored-by: Taylor Otwell <taylor@laravel.com> Co-authored-by: taylorotwell <taylorotwell@users.noreply.github.com>
- Loading branch information
1 parent
552f353
commit 4ae98ef
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Illuminate\Support\Facades; | ||
|
||
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'; | ||
} | ||
} |