Method | Description | |
---|---|---|
makeCall ( Behat\Testwork\Call\Call $call ) : Behat\Testwork\Call\CallResult | Handles call and its result using registered filters and handlers. | |
registerCallFilter ( Behat\Testwork\Call\Filter\CallFilter $filter ) | Registers call filter. | |
registerCallHandler ( Behat\Testwork\Call\Handler\CallHandler $handler ) | Registers call handler. | |
registerExceptionHandler ( Behat\Testwork\Call\Handler\ExceptionHandler $handler ) | Registers result exception handler. | |
registerResultFilter ( Behat\Testwork\Call\Filter\ResultFilter $filter ) | Registers call result filter. |
Method | Description | |
---|---|---|
filterCall ( Behat\Testwork\Call\Call $call ) : Behat\Testwork\Call\Call | Filters call using registered filters and returns a filtered one. | |
filterResult ( Behat\Testwork\Call\CallResult $result ) : Behat\Testwork\Call\CallResult | Filters call result using registered filters and returns a filtered one. | |
handleCall ( Behat\Testwork\Call\Call $call ) : Behat\Testwork\Call\CallResult | Handles call using registered call handlers. | |
handleException ( Throwable $exception ) : Throwable | Handles exception using registered handlers and returns a handled one. |
public makeCall ( Behat\Testwork\Call\Call $call ) : Behat\Testwork\Call\CallResult | ||
$call | Behat\Testwork\Call\Call | |
return | Behat\Testwork\Call\CallResult |
public registerCallFilter ( Behat\Testwork\Call\Filter\CallFilter $filter ) | ||
$filter | Behat\Testwork\Call\Filter\CallFilter |
public registerCallHandler ( Behat\Testwork\Call\Handler\CallHandler $handler ) | ||
$handler | Behat\Testwork\Call\Handler\CallHandler |
public registerExceptionHandler ( Behat\Testwork\Call\Handler\ExceptionHandler $handler ) | ||
$handler | Behat\Testwork\Call\Handler\ExceptionHandler |
public registerResultFilter ( Behat\Testwork\Call\Filter\ResultFilter $filter ) | ||
$filter | Behat\Testwork\Call\Filter\ResultFilter |