src/Services/PluginManager.php
private function publish($register)
    {
        $this->publishConfig($register);
        $this->publishPublicFolder($register);
        $this->publishAssets($register);
        $this->publishCommands($register);
        $this->publishMigrations($register);
        $this->publishLanguages($register);
        $this->publishViews($register);
        $this->publishRoutes($register);
        $this->publishControllers($register);
        $this->publishMiddleware($register);
        $this->publishDrivers($register);
        $this->publishServices($register);
        $this->publishBootstraps($register);
        $this->enablePackage($register);
    }
private function publish($register)
    {
        $this->publishConfig($register);
        $this->publishPublicFolder($register);
        $this->publishAssets($register);
        $this->publishCommands($register);
        $this->publishMigrations($register);
        $this->publishLanguages($register);
        $this->publishViews($register);
        $this->publishRoutes($register);
        $this->publishControllers($register);
        $this->publishMiddleware($register);
        $this->publishDrivers($register);
        $this->publishServices($register);
        $this->publishBootstraps($register);
        $this->enablePackage($register);
    }
private function publish ( $ register ) { $ this -> publishConfig ( $ register ) ; $ this -> publishPublicFolder ( $ register ) ; $ this -> publishAssets ( $ register ) ; $ this -> publishCommands ( $ register ) ; $ this -> publishMigrations ( $ register ) ; $ this -> publishLanguages ( $ register ) ; $ this -> publishViews ( $ register ) ; $ this -> publishRoutes ( $ register ) ; $ this -> publishControllers ( $ register ) ; $ this -> publishMiddleware ( $ register ) ; $ this -> publishDrivers ( $ register ) ; $ this -> publishServices ( $ register ) ; $ this -> publishBootstraps ( $ register ) ; $ this -> enablePackage ( $ register ) ; }
Register and unregister the plugin

@param bool $register
Register and unregister the plugin