public static function invalidInheritanceType($entityName, $type) { return new self("The inheritance type '{$type}' specified for '{$entityName}' does not exist."); }