Esempio n. 1
0
 public static function createObject($type, array $params = array())
 {
     if (is_string($type)) {
         return Base::get($type);
     } else {
         return Base::get($type['class']);
     }
 }
Esempio n. 2
0
 public function getBasePath()
 {
     return parent::getBasePath();
 }