protected function pullTagsFromProducts() : array
	{
		return $this->products->map(function ($item) {
			return explode(',', str_replace('"', '', $item->tags));
		})->flatten()->unique()->all();
	}
protected function pullTagsFromProducts() : array
	{
		return $this->products->map(function ($item) {
			return explode(',', str_replace('"', '', $item->tags));
		})->flatten()->unique()->all();
	}
protected function pullTagsFromProducts ( ) : array { return $ this -> products -> map ( function ( $ item ) { return explode ( ',' , str_replace ( '"' , '' , $ item -> tags ) ) ; } ) -> flatten ( ) -> unique ( ) -> all ( ) ; }
Returns an array with tags extracted from the products list.

@return array
Returns an array with tags extracted from the products list .