*/ trait Sections { protected $sections = []; public function addSection($section) { $this->sections[$section->getId()] = $section; return $this; } public function getSection($id) { return $this->sections[$id]; } public function getSections() { return $this->sections; } }