first
This commit is contained in:
commit
5aa7d034f7
3292 changed files with 465160 additions and 0 deletions
15
data/web/inc/lib/vendor/illuminate/contracts/Pipeline/Hub.php
vendored
Executable file
15
data/web/inc/lib/vendor/illuminate/contracts/Pipeline/Hub.php
vendored
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Pipeline;
|
||||
|
||||
interface Hub
|
||||
{
|
||||
/**
|
||||
* Send an object through one of the available pipelines.
|
||||
*
|
||||
* @param mixed $object
|
||||
* @param string|null $pipeline
|
||||
* @return mixed
|
||||
*/
|
||||
public function pipe($object, $pipeline = null);
|
||||
}
|
||||
40
data/web/inc/lib/vendor/illuminate/contracts/Pipeline/Pipeline.php
vendored
Executable file
40
data/web/inc/lib/vendor/illuminate/contracts/Pipeline/Pipeline.php
vendored
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Pipeline;
|
||||
|
||||
use Closure;
|
||||
|
||||
interface Pipeline
|
||||
{
|
||||
/**
|
||||
* Set the traveler object being sent on the pipeline.
|
||||
*
|
||||
* @param mixed $traveler
|
||||
* @return $this
|
||||
*/
|
||||
public function send($traveler);
|
||||
|
||||
/**
|
||||
* Set the stops of the pipeline.
|
||||
*
|
||||
* @param dynamic|array $stops
|
||||
* @return $this
|
||||
*/
|
||||
public function through($stops);
|
||||
|
||||
/**
|
||||
* Set the method to call on the stops.
|
||||
*
|
||||
* @param string $method
|
||||
* @return $this
|
||||
*/
|
||||
public function via($method);
|
||||
|
||||
/**
|
||||
* Run the pipeline with a final destination callback.
|
||||
*
|
||||
* @param \Closure $destination
|
||||
* @return mixed
|
||||
*/
|
||||
public function then(Closure $destination);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue