Newer
Older
use Ramsey\Collection\Collection;
class NewsFilterVariants
{
/**
* @var Collection<NewsCategory>
*/
private Collection $category;
public function __construct(Collection $category)
{
$this->category = $category;
}
public function getCategory(): Collection
{
return $this->category;
}
}