protected function registerPublisher(): void
    {
        $this->app->singleton('orchestra.publisher', function (Application $app) {
            $memory = $app->make('orchestra.platform.memory');

            return (new PublisherManager($app))->attach($memory);
        });
    }
protected function registerPublisher(): void
    {
        $this->app->singleton('orchestra.publisher', function (Application $app) {
            $memory = $app->make('orchestra.platform.memory');

            return (new PublisherManager($app))->attach($memory);
        });
    }
protected function registerPublisher ( ) : void { $ this -> app -> singleton ( 'orchestra.publisher' , function ( Application $ app ) { $ memory = $ app -> make ( 'orchestra.platform.memory' ) ; return ( new PublisherManager ( $ app ) ) -> attach ( $ memory ) ; } ) ; }
Register the service provider for publisher.

@return void
Register the service provider for publisher .