Kraken\Channel\Record\RequestRecordStorage::rejectRequest PHP Метод

rejectRequest() защищенный Метод

Reject RequestRecord if it exists that has protocol ID equal to $pid.
protected rejectRequest ( string $pid, Erro\Error | Exceptio\Exception | ThrowableProxy $ex )
$pid string
$ex Erro\Error | Exceptio\Exception | Kraken\Throwable\ThrowableProxy
    protected function rejectRequest($pid, $ex)
    {
        $callback = $this->reqs[$pid]->onFailure();
        unset($this->reqs[$pid]);
        $callback($ex);
    }