/** * Sets the inheritance type used by the class and it's subclasses. * * @param integer $type */ public function setInheritanceType($type) { if (!$this->_isInheritanceType($type)) { throw MappingException::invalidInheritanceType($this->name, $type); } $this->inheritanceType = $type; }