Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/www/test.tradze.com/app_old/Modules/Services/Providers/ |
<?php
namespace App\Modules\Services\Providers;
use App;
use Config;
use Lang;
use View;
use Caffeinated\Modules\Support\ServiceProvider;
class ServicesServiceProvider extends ServiceProvider
{
/**
* Register the Services module service provider.
*
* This service provider is a convenient place to register your modules
* services in the IoC container. If you wish, you may make additional
* methods or service providers to keep the code more focused and granular.
*
* @return void
*/
public function register()
{
App::register('App\Modules\Services\Providers\RouteServiceProvider');
Lang::addNamespace('services', realpath(__DIR__.'/../Resources/Lang'));
View::addNamespace('services', base_path('resources/views/vendor/services'));
View::addNamespace('services', realpath(__DIR__.'/../Resources/Views'));
}
/**
* Bootstrap the application events.
*
* Here you may register any additional middleware provided with your
* module with the following addMiddleware() method. You may pass in
* either an array or a string.
*
* @return void
*/
public function boot()
{
// $this->addMiddleware('');
}
/**
* Additional Compiled Module Classes
*
* Here you may specify additional classes to include in the compiled file
* generated by the `artisan optimize` command. These should be classes
* that are included on basically every request into the application.
*
* @return array
*/
public static function compiles()
{
$basePath = realpath(__DIR__.'/../');
return [
// $basePath.'/example.php',
];
}
}