/** * @since 0.4 * * @return DataTypeFactory */ public function getDataTypeFactory() { if ($this->dataTypeFactory === null) { $this->dataTypeFactory = new DataTypeFactory($this->dataTypeDefinitions->getValueTypes()); } return $this->dataTypeFactory; }