protected function startup($notification)
    {
        $reflect = new ReflectionClass($notification);

        $this->configBase = 'notifications.' . $reflect->getShortName();

        if (empty(config("{$this->configBase}.notification.name"))) {
            $this->failed("Required notification.name is missing in notification configuration");
        }

        Log::info(
            get_class($this) . ': ' .
            'A notification module has been called: ' .
            config("{$this->configBase}.notification.name")
        );

    }
protected function startup($notification)
    {
        $reflect = new ReflectionClass($notification);

        $this->configBase = 'notifications.' . $reflect->getShortName();

        if (empty(config("{$this->configBase}.notification.name"))) {
            $this->failed("Required notification.name is missing in notification configuration");
        }

        Log::info(
            get_class($this) . ': ' .
            'A notification module has been called: ' .
            config("{$this->configBase}.notification.name")
        );

    }
protected function startup ( $ notification ) { $ reflect = new ReflectionClass ( $ notification ) ; $ this -> configBase = 'notifications.' . $ reflect -> getShortName ( ) ; if ( empty ( config ( "{$this->configBase}.notification.name" ) ) ) { $ this -> failed ( "Required notification.name is missing in notification configuration" ) ; } Log :: info ( get_class ( $ this ) . ': ' . 'A notification module has been called: ' . config ( "{$this->configBase}.notification.name" ) ) ; }
Generalize the local config based on the parser class object.

@param object $notification instance class
@return void
Generalize the local config based on the parser class object .