PHP Class Kraken\Supervision\SolverComposite

Inheritance: implements Kraken\Supervision\SolverInterface
Datei anzeigen Open project: kraken-php/framework

Protected Properties

Property Type Description
$handlers Kraken\Supervision\SolverInterface[]

Public Methods

Method Description
__construct ( Kraken\Supervision\SolverInterface[] $handlers = [] )
__destruct ( )
__invoke ( $ex, $params = [] )
solve ( $ex, $params = [] )

Protected Methods

Method Description
construct ( ) Pseudo-Constructor.
destruct ( ) Pseudo-Destructor.
solver ( Erro\Error | Exceptio\Exception | string $ex, mixed[] $params = [] ) : mixed Handler to be called when solver is requested.

Method Details

__construct() public method

public __construct ( Kraken\Supervision\SolverInterface[] $handlers = [] )
$handlers Kraken\Supervision\SolverInterface[]

__destruct() public method

public __destruct ( )

__invoke() public method

public __invoke ( $ex, $params = [] )

construct() protected method

Pseudo-Constructor.
protected construct ( )

destruct() protected method

Pseudo-Destructor.
protected destruct ( )

solve() public method

public solve ( $ex, $params = [] )

solver() protected method

Handler to be called when solver is requested.
protected solver ( Erro\Error | Exceptio\Exception | string $ex, mixed[] $params = [] ) : mixed
$ex Erro\Error | Exceptio\Exception | string
$params mixed[]
return mixed

Property Details

$handlers protected_oe property

protected SolverInterface[],Kraken\Supervision $handlers
return Kraken\Supervision\SolverInterface[]