PHP Class Kraken\Supervision\Solver

Inheritance: implements Kraken\Supervision\SolverInterface
Afficher le fichier Open project: kraken-php/framework Class Usage Examples

Protected Properties

Свойство Type Description
$context mixed[]
$requires string[]

Méthodes publiques

Méthode Description
__construct ( mixed[] $context = [] )
__destruct ( )
__invoke ( $ex, $params = [] )
solve ( $ex, $params = [] )

Méthodes protégées

Méthode 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 méthode

public __construct ( mixed[] $context = [] )
$context mixed[]

__destruct() public méthode

public __destruct ( )

__invoke() public méthode

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

construct() protected méthode

Pseudo-Constructor.
protected construct ( )

destruct() protected méthode

Pseudo-Destructor
protected destruct ( )

solve() public méthode

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

solver() protected méthode

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[]
Résultat mixed

Property Details

$context protected_oe property

protected mixed[] $context
Résultat mixed[]

$requires protected_oe property

protected string[] $requires
Résultat string[]