<?phpnamespace App\Entity;class SearchProduct{ private $minPrice = null; private $maxPrice = null; private $markets = []; private $categories = []; private $colors = []; private $tags = []; private $specialOffert = false; private $featured = false; private $bestSellers = false; private $newArrival = false; private $promotional = false; public function getMinPrice(): ?int { return $this->minPrice; } public function setMinPrice($minPrice): self { $this->minPrice = is_numeric($minPrice) ? $minPrice : 0 ; return $this; } public function getMaxPrice(): ?int { return $this->maxPrice; } public function setMaxPrice($maxPrice): self { $this->maxPrice = is_numeric($maxPrice) ? $maxPrice : 0 ; return $this; } public function getMarkets(): ?array { return $this->markets; } public function setMarkets(?array $markets): ?array { $this->markets = $markets; return $this->markets; } public function getCategories(): ?array { return $this->categories; } public function setCategories(?array $categories): ?array { $this->categories = $categories; return $this->categories; } public function getColors(): ?array { return $this->colors; } public function setColors(?array $colors): ?array { $this->colors = $colors; return $this->colors; } public function getTags(): ?array { return $this->tags; } public function setTags(?array $tags): ?array { $this->tags = $tags; return $this->tags; } /** * @return bool */ public function isSpecialOffert(): bool { return $this->specialOffert; } /** * @param bool $specialOffert */ public function setSpecialOffert(bool $specialOffert) { $this->specialOffert = $specialOffert; } /** * @return bool */ public function isFeatured(): bool { return $this->featured; } /** * @param bool $featured */ public function setFeatured(bool $featured) { $this->featured = $featured; } /** * @return bool */ public function isBestSellers(): bool { return $this->bestSellers; } /** * @param bool $bestSellers */ public function setBestSellers(bool $bestSellers) { $this->bestSellers = $bestSellers; } /** * @return bool */ public function isNewArrival(): bool { return $this->newArrival; } /** * @param bool $newArrival */ public function setNewArrival(bool $newArrival) { $this->newArrival = $newArrival; } /** * @return bool */ public function isPromotional(): bool { return $this->promotional; } /** * @param bool $promotional */ public function setPromotional(bool $promotional) { $this->promotional = $promotional; }}