protected function signalHasReceiverUrl($signalName, UrlContract $url)
    {
        foreach ($this->receivers($signalName) as $receiver) {
            if ($receiver->getUrl()->equals($url, ['user', 'host', 'path'])) {
                return true;
            }
        }
        return false;
    }
protected function signalHasReceiverUrl($signalName, UrlContract $url)
    {
        foreach ($this->receivers($signalName) as $receiver) {
            if ($receiver->getUrl()->equals($url, ['user', 'host', 'path'])) {
                return true;
            }
        }
        return false;
    }
protected function signalHasReceiverUrl ( $ signalName , UrlContract $ url ) { foreach ( $ this -> receivers ( $ signalName ) as $ receiver ) { if ( $ receiver -> getUrl ( ) -> equals ( $ url , [ 'user' , 'host' , 'path' ] ) ) { return true ; } } return false ; }
Check if a url was already added to a signal.

@param string      $signalName
@param UrlContract $url

@return bool
Check if a url was already added to a signal .