/** * Add a section to the section collection. * * @param SectionInterface $section * @return $this */ public function addSection(SectionInterface $section) { $this->sections->put($section->getSlug(), $section); return $this; }
/** * Add a section to the section collection. * * @param SectionInterface $section * @return $this */ public function addSection(SectionInterface $section) { $this->sections->put($section->getSlug(), $section); return $this; }