PHP Class Blackfire\Player\Extension\BlackfireExtension

Author: Fabien Potencier ([email protected])
Inheritance: implements Blackfire\Player\Extension\ExtensionInterface
Mostrar archivo Open project: blackfireio/player

Public Methods

Method Description
__construct ( Blackfire\Client $blackfire, Psr\Log\LoggerInterface $logger = null )
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 )

Private Methods

Method Description
assertProfile ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response )
createBlackfireConfig ( Step $step, Blackfire\Build $build = null )
registerBlackfire ( $title )

Method Details

__construct() public method

public __construct ( Blackfire\Client $blackfire, Psr\Log\LoggerInterface $logger = null )
$blackfire Blackfire\Client
$logger Psr\Log\LoggerInterface

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