public function generateIdentifier(NotifiableInterface $notifiable)
    {
        $Notifiableidentifiers = $this->getNotifiableIdentifier($notifiable);
        $identifierValues = array();
        foreach ($Notifiableidentifiers as $identifier) {
            $method = sprintf('get%s', ucfirst($identifier));
            $identifierValues[] = $notifiable->$method();
        }

        return implode('-', $identifierValues);
    }
public function generateIdentifier(NotifiableInterface $notifiable)
    {
        $Notifiableidentifiers = $this->getNotifiableIdentifier($notifiable);
        $identifierValues = array();
        foreach ($Notifiableidentifiers as $identifier) {
            $method = sprintf('get%s', ucfirst($identifier));
            $identifierValues[] = $notifiable->$method();
        }

        return implode('-', $identifierValues);
    }
public function generateIdentifier ( NotifiableInterface $ notifiable ) { $ Notifiableidentifiers = $ this -> getNotifiableIdentifier ( $ notifiable ) ; $ identifierValues = array ( ) ; foreach ( $ Notifiableidentifiers as $ identifier ) { $ method = sprintf ( 'get%s' , ucfirst ( $ identifier ) ) ; $ identifierValues [ ] = $ notifiable -> $ method ( ) ; } return implode ( '-' , $ identifierValues ) ; }
Generates the identifier value to store a NotifiableEntity

@param NotifiableInterface $notifiable

@return string

@throws \RuntimeException
@throws \InvalidArgumentException
Generates the identifier value to store a NotifiableEntity