Commaaa2
This commit is contained in:
@@ -71,4 +71,27 @@ class Hub implements HubContract
|
||||
$this->pipelines[$pipeline], new Pipeline($this->container), $object
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the container instance used by the hub.
|
||||
*
|
||||
* @return \Illuminate\Contracts\Container\Container
|
||||
*/
|
||||
public function getContainer()
|
||||
{
|
||||
return $this->container;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the container instance used by the hub.
|
||||
*
|
||||
* @param \Illuminate\Contracts\Container\Container $container
|
||||
* @return $this
|
||||
*/
|
||||
public function setContainer(Container $container)
|
||||
{
|
||||
$this->container = $container;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user