public function publish(string $name): void
    {
        $this->app->make('orchestra.publisher.migrate')->extension($name);
        $this->app->make('orchestra.publisher.asset')->extension($name);

        $this->events->dispatch('orchestra.publishing', [$name]);
        $this->events->dispatch("orchestra.publishing: {$name}");
    }
public function publish(string $name): void
    {
        $this->app->make('orchestra.publisher.migrate')->extension($name);
        $this->app->make('orchestra.publisher.asset')->extension($name);

        $this->events->dispatch('orchestra.publishing', [$name]);
        $this->events->dispatch("orchestra.publishing: {$name}");
    }
public function publish ( string $ name ) : void { $ this -> app -> make ( 'orchestra.publisher.migrate' ) -> extension ( $ name ) ; $ this -> app -> make ( 'orchestra.publisher.asset' ) -> extension ( $ name ) ; $ this -> events -> dispatch ( 'orchestra.publishing' , [ $ name ] ) ; $ this -> events -> dispatch ( "orchestra.publishing: {$name}" ) ; }
Publish an extension.

@param  string

@return void
Publish an extension .