Example #1
0
File: db.php Project: yeaha/lysine
 /**
  * 获得数据映射关系封装
  *
  * @static
  * @access public
  * @return void
  */
 public static function getMapper()
 {
     return DBMapper::factory(get_called_class());
 }
Example #2
0
 protected function doDelete(\Lysine\DataMapper\Data $data, \Lysine\Service\IService $service = null, $collection = null)
 {
     $service = service('master');
     return parent::doDelete($data, $service);
 }