31 lines
541 B
Plaintext
31 lines
541 B
Plaintext
<?php
|
|
|
|
namespace Modules\$Module$\Providers;
|
|
|
|
use App\CMS\Contracts\Modules\ServiceProvider;
|
|
|
|
/**
|
|
* Class $Module$ServiceProvider
|
|
*
|
|
* Service provider for module $Module$
|
|
*
|
|
* @package Modules\$Module$\Providers
|
|
*/
|
|
class $Module$ServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Set module Alias
|
|
*/
|
|
protected function setModuleAlias()
|
|
{
|
|
$this->alias = strtolower('$module$');
|
|
}
|
|
|
|
/**
|
|
* Set path to module
|
|
*/
|
|
protected function setModulePath()
|
|
{
|
|
$this->path = __DIR__;
|
|
}
|
|
} |