16 lines
294 B
PHP
16 lines
294 B
PHP
|
<?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);
|
||
|
}
|