src/Workflow.php
protected function dispatchWorkflow($workflow)
	{
		$job = $this->inflector->getJob();

		$request = $this->resolveRequest();

		$pipes = $this->pipelines->getPipesByPipeline($workflow);

		$parameters = $this->container->make('router')->current()->parameters();

		return $this->dispatcher->pipeThrough($pipes)->dispatchFrom($job, $request, $parameters);
	}
protected function dispatchWorkflow($workflow)
	{
		$job = $this->inflector->getJob();

		$request = $this->resolveRequest();

		$pipes = $this->pipelines->getPipesByPipeline($workflow);

		$parameters = $this->container->make('router')->current()->parameters();

		return $this->dispatcher->pipeThrough($pipes)->dispatchFrom($job, $request, $parameters);
	}
protected function dispatchWorkflow ( $ workflow ) { $ job = $ this -> inflector -> getJob ( ) ; $ request = $ this -> resolveRequest ( ) ; $ pipes = $ this -> pipelines -> getPipesByPipeline ( $ workflow ) ; $ parameters = $ this -> container -> make ( 'router' ) -> current ( ) -> parameters ( ) ; return $ this -> dispatcher -> pipeThrough ( $ pipes ) -> dispatchFrom ( $ job , $ request , $ parameters ) ; }
Dispatch the given workflow.

@author	Andrea Marco Sartori
@param	string	$workflow
@return	mixed
Dispatch the given workflow .