Changeset 826
- Timestamp:
- 08/14/07 21:03:29 (1 year ago)
- Files:
-
- trunk/experiments/people/schst/ioc/naming.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/experiments/people/schst/ioc/naming.php
r825 r826 70 70 $binder = new stubBinder($injector); 71 71 72 // Only one person can be the boss 72 73 $binder->bind('Person')->named('schst')->to('Boss'); 73 74 $binder->bind('Person')->to('Employee'); 74 75 75 // Person is bound to Schst by using the ImplementedBy annotation76 76 $group = $injector->getInstance('Developers'); 77 77
