Changeset 823

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

Make sure, that impl is an instance of stubReflectionClass

Files:

Legend:

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

    r821 r823  
    128128     */ 
    129129    public function create() { 
     130        if (is_string($this->impl)) { 
     131            $this->impl = new stubReflectionClass($this->impl); 
     132        } 
    130133        $constructor = $this->impl->getConstructor(); 
    131134        if ($constructor === null) {