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