protected function _addProperty(OProperty $property) { $name = $property->getName(); if (isset($this->_properties[$name])) { throw OSchemaException::propertyAlreadyExists($name, $this->getName()); } $this->_properties[$name] = $property; }