public function setSelectedAttributes(array $attributes) { $this->selectedAttributes = $attributes; }