public function geoPoint() { return $this->attributes[$this->attribute] = new self::$classMap['geoPoint']($this->attribute, $this->entity); }