Changeset 826

Show
Ignore:
Timestamp:
08/14/07 21:03:29 (1 year ago)
Author:
schst
Message:

Fixed comment

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/experiments/people/schst/ioc/naming.php

    r825 r826  
    7070$binder = new stubBinder($injector); 
    7171 
     72// Only one person can be the boss 
    7273$binder->bind('Person')->named('schst')->to('Boss'); 
    7374$binder->bind('Person')->to('Employee'); 
    7475 
    75 // Person is bound to Schst by using the ImplementedBy annotation 
    7676$group = $injector->getInstance('Developers'); 
    7777