public function __construct(Firewall $firewall, $message = '', $code = 0, \Exception $previous = null) { $this->firewall = $firewall; parent::__construct(sprintf($message, $firewall->getName()), $code, $previous); }
/** * @param Firewall $firewall * @return bool */ public function isFiltered(Firewall $firewall) { return isset($this->firewalls[$firewall->getName()]); }