PHP Interface Blackfire\Player\Extension\ExtensionInterface

Author: Fabien Potencier ([email protected])
Show file Open project: blackfireio/player

Public Methods

Method Description
postRun ( Scenario $scenario, ValueBag $values, ValueBag $extra )
preRun ( Scenario $scenario, ValueBag $values, ValueBag $extra )
prepareRequest ( Step $step, ValueBag $values, Psr\Http\Message\RequestInterface $request, $options )
processResponse ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response, Step $step, ValueBag $values = null, Crawler $crawler = null )
registerHandlers ( GuzzleHttp\HandlerStack $stack )

Method Details

postRun() public method

public postRun ( Scenario $scenario, ValueBag $values, ValueBag $extra )
$scenario Blackfire\Player\Scenario
$values Blackfire\Player\ValueBag
$extra Blackfire\Player\ValueBag

preRun() public method

public preRun ( Scenario $scenario, ValueBag $values, ValueBag $extra )
$scenario Blackfire\Player\Scenario
$values Blackfire\Player\ValueBag
$extra Blackfire\Player\ValueBag

prepareRequest() public method

public prepareRequest ( Step $step, ValueBag $values, Psr\Http\Message\RequestInterface $request, $options )
$step Blackfire\Player\Step
$values Blackfire\Player\ValueBag
$request Psr\Http\Message\RequestInterface

processResponse() public method

public processResponse ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response, Step $step, ValueBag $values = null, Crawler $crawler = null )
$request Psr\Http\Message\RequestInterface
$response Psr\Http\Message\ResponseInterface
$step Blackfire\Player\Step
$values Blackfire\Player\ValueBag
$crawler Symfony\Component\DomCrawler\Crawler

registerHandlers() public method

public registerHandlers ( GuzzleHttp\HandlerStack $stack )
$stack GuzzleHttp\HandlerStack