ryanhs/dependency

very very small dependency class

1.0.1 2015-02-04 09:26 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:43:26 UTC


README

very very small dependency class

maybe you will find it as a joke haha :-)

Installation

you can download this with composer (packagist)

composer require ryanhs/dependency

example

require 'vendor/autoload.php'; // composer autoload

use \Ryanhs\Dependency\Dependency;

$d = new Dependency;
$d->app = new MyApp();
$d->router = new MyRouter();
$d->controller = new MyController();


$d->app->run();

License

MIT License