15 lines
271 B
PHP
15 lines
271 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);
|
||
|
|
||
|
}
|