芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/vendor/srmklive/paypal/src/Providers/PayPalServiceProvider.php
publishes([ __DIR__.'/../../config/config.php' => config_path('paypal.php'), ]); // Publish Lang Files $this->loadTranslationsFrom(__DIR__.'/../../lang', 'paypal'); } /** * Register the service provider. * * @return void */ public function register() { $this->registerPayPal(); $this->mergeConfig(); } /** * Register the application bindings. * * @return void */ private function registerPayPal() { $this->app->singleton('paypal_client', static function () { return new PayPalClient(); }); } /** * Merges user's and paypal's configs. * * @return void */ private function mergeConfig() { $this->mergeConfigFrom( __DIR__.'/../../config/config.php', 'paypal' ); } }