public function getType() { if (null === $this->resolvedType) { $this->resolvedType = Type::resolve($this->type); } return $this->resolvedType; }