PHP Интерфейс Kraken\Supervision\SolverInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
__invoke ( Erro\Error | Exceptio\Exception | string $ex, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface Handle given Error, Exception or string message with set of params using solver's handler method.
solve ( Erro\Error | Exceptio\Exception | string $ex, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface Solve given Error, Exception or string message with set of params using solver's handler method.

Описание методов

__invoke() публичный Метод

Handle given Error, Exception or string message with set of params using solver's handler method.
См. также: SolverInterface::solve
public __invoke ( Erro\Error | Exceptio\Exception | string $ex, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface
$ex Erro\Error | Exceptio\Exception | string
$params mixed[]
Результат Kraken\Promise\PromiseInterface

solve() публичный Метод

Solve given Error, Exception or string message with set of params using solver's handler method.
public solve ( Erro\Error | Exceptio\Exception | string $ex, mixed[] $params = [] ) : Kraken\Promise\PromiseInterface
$ex Erro\Error | Exceptio\Exception | string
$params mixed[]
Результат Kraken\Promise\PromiseInterface