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