protected function entityFromArray(array $values) { $object = false; if (!empty($values)) { $class = '\\Model\\' . \Util\Text::classNameOnly(get_called_class()); $object = new $class(); $object->fromArray($values); } return $object; }
public function offsetUnset($dao_name) { unset($this->container[\Util\Text::classNameOnly($dao_name)]); }