Skip to content
Snippets Groups Projects
Select Git revision
  • 400c87f665aeb1f86309bb305b13c966e3f895a7
  • develop default
  • master protected
  • unicaen_authentification
  • 5.x
  • 4.x
  • release_4.0.0
  • bootstrap4_migration
  • laminas_migration
  • zf-3.x
  • 7.1.0
  • 7.0.0
  • 6.1.0
  • 6.0.1
  • 6.0.0
  • 5.0.1
  • 5.0.0
  • 4.0.2
  • 4.0.1
  • 4.0.0
  • 3.0.0
  • 1.0.5
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
27 results

Module.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Module.php 599 B
    <?php
    
    namespace UnicaenShell;
    
    use Laminas\Config\Factory as ConfigFactory;
    
    class Module
    {
        const NAME = __NAMESPACE__;
    
        public function getConfig()
        {
            $paths = array_merge(
                [__DIR__ . '/config/module.config.php'],
            );
    
            return ConfigFactory::fromFiles($paths);
        }
    
        public function getAutoloaderConfig(): array
        {
            return [
                'Laminas\Loader\StandardAutoloader' => [
                    'namespaces' => [
                        __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                    ],
                ],
            ];
        }
    }