%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/froiden/envato/src/ |
Upload File : |
<?php
namespace Froiden\Envato;
use Froiden\Envato\Commands\MigrateCheckCommand;
use Froiden\Envato\Commands\NewVersion;
use Froiden\Envato\Commands\NewVersionModule;
use Froiden\Envato\Commands\VendorCleanUpCommand;
use Illuminate\Support\ServiceProvider;
class FroidenEnvatoServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
$this->mergeConfigFrom(
__DIR__.'/Config/froiden_envato.php','froiden_envato'
);
$this->commands([
VendorCleanUpCommand::class,
NewVersion::class,
NewVersionModule::class,
MigrateCheckCommand::class
]);
}
/**
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function boot()
{
$this->publishFiles();
include __DIR__ . '/routes.php';
}
public function publishFiles()
{
$this->publishes([
__DIR__ . '/Config/froiden_envato.php' => config_path('froiden_envato.php'),
]);
$this->publishes([
__DIR__ . '/Migrations/' => database_path('migrations')
], 'migrations');
$this->publishes([
__DIR__ . '/Views' => resource_path('views/vendor/froiden-envato'),
]);
}
}