PHP Class Sanpi\Behatch\HttpCall\ContextSupportedVoters

Inheritance: implements Sanpi\Behatch\HttpCall\ContextSupportedVoter
Show file Open project: behatch/contexts

Public Methods

Method Description
__construct ( array $voters = [] )
register ( Sanpi\Behatch\HttpCall\ContextSupportedVoter $voter )
vote ( HttpCallResult $httpCallResult )

Method Details

__construct() public method

public __construct ( array $voters = [] )
$voters array

register() public method

public register ( Sanpi\Behatch\HttpCall\ContextSupportedVoter $voter )
$voter Sanpi\Behatch\HttpCall\ContextSupportedVoter

vote() public method

public vote ( HttpCallResult $httpCallResult )
$httpCallResult HttpCallResult