PHP Interface Visithor\Executor\Interfaces\ExecutorInterface

显示文件 Open project: visithor/visithor

Public Methods

Method Description
execute ( UrlChain $urlChain, Visithor\Renderer\Interfaces\RendererInterface $renderer, Symfony\Component\Console\Output\OutputInterface $output ) : integer Renders the output of the result of executing some urls given a client instance

Method Details

execute() public method

If all urls are executed as expected, then the result of the operation will be 0. Otherwise, the result will be 1.
public execute ( UrlChain $urlChain, Visithor\Renderer\Interfaces\RendererInterface $renderer, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$urlChain Visithor\Model\UrlChain Url chain
$renderer Visithor\Renderer\Interfaces\RendererInterface Renderer
$output Symfony\Component\Console\Output\OutputInterface Output
return integer Result of the execution