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