PHP Classes

File: src/config/modules.php

Recommend this page to a friend!
  Classes of Ivan Semenkov   Laravel Template Engine Modules   src/config/modules.php   Download  
File: src/config/modules.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Template Engine Modules
Implement template modules using custom classes
Author: By
Last change: Refactor
Date: 3 years ago
Size: 1,214 bytes
 

Contents

Class file image Download
<?php

return [

   
/*
    |--------------------------------------------------------------------------
    | Priority weight
    |--------------------------------------------------------------------------
    |
    | Default module sort priority value if concrete module isn't provide it.
    | This value is used to sort multiples modules registered in one position.
    |
    */

   
'default_priority' => 0,
   
   
/*
    |--------------------------------------------------------------------------
    | Cache time
    |--------------------------------------------------------------------------
    |
    | Default module cache time if concrete module isn't provide it.
    | This value is used to set module cache timeout.
    |
    */

   
'default_cache_time' => 3600,

   
/*
    |--------------------------------------------------------------------------
    | Groups
    |--------------------------------------------------------------------------
    |
    | You can create modules group which can loaded togeher.
    |
    */

   
'groups' => [
       
       
// 'web' => [
        // \App\Modules\HeaderModule::class,
        // \App\Modules\UserInfoModule::class,
        // ],
   
],

];