public function getNotifiable($name)
    {
        $notifiables = $this->getDiscoveryNotifiables();
        if (isset($notifiables[$name])) {
            return $notifiables[$name];
        }

        throw new \RuntimeException('Notifiable not found.');
    }
public function getNotifiable($name)
    {
        $notifiables = $this->getDiscoveryNotifiables();
        if (isset($notifiables[$name])) {
            return $notifiables[$name];
        }

        throw new \RuntimeException('Notifiable not found.');
    }
public function getNotifiable ( $ name ) { $ notifiables = $ this -> getDiscoveryNotifiables ( ) ; if ( isset ( $ notifiables [ $ name ] ) ) { return $ notifiables [ $ name ] ; } throw new \ RuntimeException ( 'Notifiable not found.' ) ; }
Returns one notifiable by name

@param $name

@return array

@throws \InvalidArgumentException
@throws \RuntimeException
Returns one notifiable by name