public function __construct($fqcn) { parent::__construct($fqcn); $this->setPrimary('id'); //Set id as default primary in case it won't be defined $this->map(); }
/** * @param string $entityfqcn * @param boolean $isMapper */ public function __construct($entityfqcn, $isMapper) { parent::__construct($entityfqcn); $this->_isMapper = $isMapper; }