/** * Prevent removing the package property. * * @param string $name The property name. * * @throws RuntimeException When attempting to remove the package property. * @return KDatabaseRowAbstract */ public function removeProperty($name) { if ($name == 'package') { throw new RuntimeException('Entity package property cannot be removed.'); } return parent::removeProperty($name); }