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