PHP 인터페이스 Kraken\Supervision\SolverInterface

파일 보기 프로젝트 열기: kraken-php/framework

공개 메소드들

메소드 설명
__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