-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
Andrzej Kostrzewa edited this page Nov 13, 2016
·
1 revision
You can install the component in 2 different ways:
- Install it via Composer
$ composer require stackframework/dependency-injection
- Use the official Git repository (https://github.com/stackframework/dependency-injection).
We instantiate a Container like so:
use Stack\DependencyInjection\ContainerBuilder;
$builder = new ContainerBuilder();
$container = $builder->build();