debug/Condition.php
public function matches(\Exception $exception, Handler $handler) : bool
    {
        return $this->matcher ? call_user_func($this->matcher, $exception, $handler) : false;
    }
public function matches(\Exception $exception, Handler $handler) : bool
    {
        return $this->matcher ? call_user_func($this->matcher, $exception, $handler) : false;
    }
public function matches ( \ Exception $ exception , Handler $ handler ) : bool { return $ this -> matcher ? call_user_func ( $ this -> matcher , $ exception , $ handler ) : false ; }
Executes code in order to check whether this Condition matches the given Exception.

Note: Not declared abstract because a callable may be given at runtime to be executed (either using the
constructor or the respective setter), but you may want to simply override this for complex Conditions and
store your Condition as a separate class to keep your codebase legible.

@param   \Exception  $exception  The Exception which should be tested.
@param   Handler     $handler    The Handler which is running the match.
@return  bool                    True when this Condition is met, false otherwise.
Executes code in order to check whether this Condition matches the given Exception .