src/Components/Notifier.php
public function getSubject(Exception $e)
    {
        if (is_callable($this->subjectCb)) {
            return $this->subjectCb->__invoke($e);
        } else {
            return get_class($e);
        }
    }
public function getSubject(Exception $e)
    {
        if (is_callable($this->subjectCb)) {
            return $this->subjectCb->__invoke($e);
        } else {
            return get_class($e);
        }
    }
public function getSubject ( Exception $ e ) { if ( is_callable ( $ this -> subjectCb ) ) { return $ this -> subjectCb -> __invoke ( $ e ) ; } else { return get_class ( $ e ) ; } }
Returns the result of the subject closure
@param  Exception $e The Exception instance that you want to build the subject around
@return string       The subject string
Returns the result of the subject closure