/** * {@inheritdoc} */ public function isHandling(array $record) : bool { if (count($record) == 1) { return parent::isHandling($record); } if (!parent::isHandling($record)) { return false; } if (empty($this->channel)) { return empty($record['context']['channel']); } if (empty($record['context']['channel'])) { return false; } $supported = $this->channel === $record['context']['channel']; return $supported; }
public function isHandling(array $record) { return $this->streamHandler->isHandling($record); }