<?php namespace Lc\CaracoleBundle\Context; use Lc\CaracoleBundle\Model\Section\SectionInterface; trait SectionContextTrait { protected ?SectionInterface $section = null; public function setSection(?SectionInterface $section) { $this->section = $section; return $this; } }