function __construct($activeElement = null) { Assert::isScalarOrNull($activeElement); $this->activeElement = $activeElement; parent::__construct('parts/top-menu'); }
function render(IOutput $output) { $this->output = $output; parent::render($output); $this->output = null; }