public function layout(string
$key): self
{ if ($this->ids->
has($key)) { $this->cmsPage =
['id' =>
$this->ids->
get($key)];
return $this;
} $this->cmsPage =
(new LayoutBuilder($this->ids,
$key, 'detailpage'
)) ->
productHeading() ->
galleryBuybox() ->
descriptionReviews() ->
crossSelling() ->
build();
return $this;
} /**
* @param array<mixed> $value
*/
public function slot(string
$key, array
$value, string
$languageId = Defaults::LANGUAGE_SYSTEM
): self
{