src/NotifyMeServiceProvider.php
protected function registerFactory()
    {
        $this->app->singleton('notifyme.factory', function () {
            return new NotifyMeFactory();
        });

        $this->app->alias('notifyme.factory', NotifyMeFactory::class);
        $this->app->alias('notifyme.factory', FactoryInterface::class);
    }
protected function registerFactory()
    {
        $this->app->singleton('notifyme.factory', function () {
            return new NotifyMeFactory();
        });

        $this->app->alias('notifyme.factory', NotifyMeFactory::class);
        $this->app->alias('notifyme.factory', FactoryInterface::class);
    }
protected function registerFactory ( ) { $ this -> app -> singleton ( 'notifyme.factory' , function ( ) { return new NotifyMeFactory ( ) ; } ) ; $ this -> app -> alias ( 'notifyme.factory' , NotifyMeFactory :: class ) ; $ this -> app -> alias ( 'notifyme.factory' , FactoryInterface :: class ) ; }
Register the factory class.

@return void
Register the factory class .