Beispiel #1
0
 /**
  * @param string|object|null $class
  *
  * @return QlDaoCollection
  */
 protected static function _createCollection($class = null)
 {
     if ($class === null) {
         $class = get_called_class();
     }
     return QlDaoCollection::create($class);
 }
Beispiel #2
0
 /**
  * @param null $daoClass
  *
  * @return static
  */
 public static function create($daoClass = null)
 {
     if ($daoClass === null) {
         $daoClass = MockQlDao::class;
     }
     return parent::create($daoClass);
 }