$this->breadcrumb =
$breadcrumb;
} /**
* @return array<mixed>
*/
public function jsonSerialize(): array
{ // Make sure that the sorted breadcrumb gets serialized
$data = parent::
jsonSerialize();
$data['translated'
]['breadcrumb'
] =
$data['breadcrumb'
] =
$this->
getBreadcrumb();
return $data;
} public function getMainCategories(): ?MainCategoryCollection
{ return $this->mainCategories;
} public function setMainCategories(MainCategoryCollection
$mainCategories): void
{