Commit b43ab4c8 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Mise en place de la structure de base du module

parent 41388d5b
Loading
Loading
Loading
Loading

Module.php

0 → 100644
+25 −0
Original line number Diff line number Diff line
<?php

namespace UnicaenKsup;

use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Zend\Mvc\MvcEvent;

/**
 *
 *
 * @author Laurent LECLUSE <laurent.lecluse at unicaen.fr>
 */
class Module implements ConfigProviderInterface
{
    public function onBootstrap(MvcEvent $e)
    {
    }



    public function getConfig()
    {
        return include __DIR__ . '/config/module.config.php';
    }
}
 No newline at end of file

composer.json

0 → 100644
+23 −0
Original line number Diff line number Diff line
{
    "name"        : "unicaen/unicaen-ksup",
    "description" : "Intégration d'application avec Ksup",
    "repositories": [
        {
            "type": "composer",
            "url" : "http://dev.unicaen.fr/packagist"
        }
    ],
    "require-dev" : {
        "phpunit/PHPUnit"                   : ">=3.7",
        "zendframework/zend-test"           : ">=2.2"
    },
    "autoload"    : {
        "psr-0"   : {
            "UnicaenCode"    : "src/",
            "UnicaenCodeTest": "tests/"
        },
        "classmap": [
            "./Module.php"
        ]
    }
}
+7 −0
Original line number Diff line number Diff line
<?php
namespace UnicaenKsup;

return [
    'unicaen-ksup' => [
    ],
];
+7 −0
Original line number Diff line number Diff line
<?php
namespace UnicaenKsup;

return [
    'unicaen-ksup' => [
    ],
];
+7 −0
Original line number Diff line number Diff line
<?php
namespace UnicaenKsup;

return [
    'unicaen-ksup' => [
    ],
];