/home/techb158/ileadtechnology.com/vendor/tzsk/payu/src/Provider
NameSizeModeActions
PayuServiceProvider.php17090644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/tzsk/payu/src/Provider/PayuServiceProvider.php (1709B)
publishFiles(); $this->loadItems(); /** * Register singleton. */ $this->app->singleton('tzsk-payu', function ($app) { return new PayuGateway(); }); } /** * Register any package services. * * @return void */ public function register() { /** * Merge Configurations. */ $this->mergeConfigFrom( __DIR__ . '/../Config/tzsk-payu.php', 'payu' ); } /** * Publish Config file and Migration File. */ protected function publishFiles() { /** * Configurations that needs to be done by user. */ $this->publishes([ __DIR__ . '/../Config/payu.php' => config_path('payu.php'), ], 'payu-config'); /** * Migration file for the payments. */ $this->publishes([ __DIR__ . '/../Migration/' => database_path('migrations') ], 'payu-table'); } /** * Load Routes and Views. */ protected function loadItems() { /** * Load routes for payment. */ if (! $this->app->routesAreCached()) { require __DIR__ . '/../Routes/routes.php'; } /** * Load the Views. */ $this->loadViewsFrom(__DIR__ . '/../Views', 'tzsk'); } }