Changeset 1179

Show
Ignore:
Timestamp:
12/23/07 00:11:01 (1 year ago)
Author:
mikey
Message:

updated api doc: there is no create() method any more

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/ioc/stubClassBinding.php

    r1177 r1179  
    147147     * This method will at first look for an existing 
    148148     * instance in the scope and then create the instance 
    149      * using the create() method
     149     * using the injection provider
    150150     * 
    151151     * @return  object 
    152      * @see     create() 
    153152     */ 
    154153    public function getInstance() 
     
    163162 
    164163        if (null === $this->scope) { 
    165             if ($this->impl->hasAnnotation('Singleton')) { 
     164            if ($this->impl->hasAnnotation('Singleton') === true) { 
    166165                $this->scope = stubBindingScopes::$SINGLETON; 
    167166            }