示例#1
0
 public function getInstance($forceNew = false)
 {
     if ($this->className) {
         return parent::getInstance($forceNew);
     }
     foreach ($this->propertySetters as $key => &$value) {
         if ($value instanceof ConfigInstantiator) {
             $value = $value->getInstance();
         }
     }
     return $this->propertySetters;
 }