PHP Class Kraken\Supervision\Solver

Inheritance: implements Kraken\Supervision\SolverInterface
Mostrar archivo 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_oe property

protected mixed[] $context
return mixed[]

$requires protected_oe property

protected string[] $requires
return string[]