Example #1
0
 /**
  * @param string $exception
  * @param ChannelProtocolInterface $protocol
  * @return bool
  */
 public function __invoke($exception, ChannelProtocolInterface $protocol)
 {
     return StringSupport::match($this->exception, $protocol->getException());
 }