2017 © Pedro Peláez
 

library frankie-modular

Frankie Modules

image

wdalmut/frankie-modular

Frankie Modules

  • PHP
  • 11 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 10 % Grown

The README.md

Frankie Modular

The base frankie module system, (*1)

$container = new CompositeContainer();
$modules = new Loader($container);

// add modules
$modules->add(new Corley\Module\FrameworkModule());

$loader->getContainer()->get("event_manager");

Create a module

It is just a class that implements Corley\Modular\Module\ModuleInterface, (*2)

class Framework implements ModuleInterface
{
    public function getContainer()
    {
        return /* Psr\Container\ContainerInterface instance */
    }
}

The Versions

16/07 2017

dev-master

9999999-dev

Frankie Modules

  Sources   Download

MIT

The Requires

 

The Development Requires