PHP Class Kraken\Supervision\Solver

Inheritance: implements Kraken\Supervision\SolverInterface
Show file Open project: kraken-php/framework Class Usage Examples

Protected Properties

Property Type Description
$context mixed[]
$requires string[]

Public Methods

Method Description
__construct ( mixed[] $context = [] )
__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 ( mixed[] $context = [] )
$context mixed[]

__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

$context protected property

protected mixed[] $context
return mixed[]

$requires protected property

protected string[] $requires
return string[]