protected function all() : array
	{
		return array_merge([
			'category' => $this->forCategories(),
			'brands' => array_count_values($this->products->pluck('brand')->all()),
			'conditions' => array_count_values($this->products->pluck('condition')->all()),
		], $this->forFeatures());
	}
protected function all() : array
	{
		return array_merge([
			'category' => $this->forCategories(),
			'brands' => array_count_values($this->products->pluck('brand')->all()),
			'conditions' => array_count_values($this->products->pluck('condition')->all()),
		], $this->forFeatures());
	}
protected function all ( ) : array { return array_merge ( [ 'category' => $ this -> forCategories ( ) , 'brands' => array_count_values ( $ this -> products -> pluck ( 'brand' ) -> all ( ) ) , 'conditions' => array_count_values ( $ this -> products -> pluck ( 'condition' ) -> all ( ) ) , ] , $ this -> forFeatures ( ) ) ; }
Returns the parsed filters.

@return array
Returns the parsed filters .