ryanhs / dependency
very very small dependency class
1.0.1
2015-02-04 09:26 UTC
Requires
- ryanhs/hook: ~1.0
Requires (Dev)
- phpunit/phpunit: 4.4.*
This package is not auto-updated.
Last update: 2024-11-23 17:22:29 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