Property | Type | Description | |
---|---|---|---|
$factory | SolverFactoryInterface | ||
$params | mixed[] | ||
$rules | Kraken\Supervision\SolverInterface[] |
Method | Description | |
---|---|---|
__construct ( SolverFactoryInterface $factory, mixed[] $params = [], Kraken\Supervision\SolverInterface[] | string[] $rules = [] ) | ||
__destruct ( ) | ||
__invoke ( $ex, $params = [] ) | ||
existsParam ( $key ) | ||
existsSolver ( $exception ) | ||
getParam ( $key ) | ||
getSolver ( $exception ) | ||
removeParam ( $key ) | ||
removeSolver ( $exception ) | ||
setParam ( $key, $value ) | ||
setSolver ( $exception, $handler ) | ||
solve ( $ex, $params = [], &$try ) |
Method | Description | |
---|---|---|
resolveHandler ( Kraken\Supervision\SolverInterface | string $solverOrName ) : Kraken\Supervision\SolverInterface | Resolve handler. |
public __construct ( SolverFactoryInterface $factory, mixed[] $params = [], Kraken\Supervision\SolverInterface[] | string[] $rules = [] ) | ||
$factory | SolverFactoryInterface | |
$params | mixed[] | |
$rules | Kraken\Supervision\SolverInterface[] | string[] |
protected resolveHandler ( Kraken\Supervision\SolverInterface | string $solverOrName ) : Kraken\Supervision\SolverInterface | ||
$solverOrName | Kraken\Supervision\SolverInterface | string | |
return | Kraken\Supervision\SolverInterface |
protected SolverFactoryInterface $factory | ||
return | SolverFactoryInterface |