Kraken\Channel\Protocol\ProtocolInterface::getException PHP Метод

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

Return protocol exception.
public getException ( ) : string
Результат string
    public function getException();

Usage Example

Пример #1
0
 /**
  * @param string $exception
  * @param ProtocolInterface $protocol
  * @return bool
  */
 public function __invoke($exception, ProtocolInterface $protocol)
 {
     return StringSupport::match($this->exception, $protocol->getException());
 }
All Usage Examples Of Kraken\Channel\Protocol\ProtocolInterface::getException