public function __construct(Sitemenu $sitemenu) { $this->data = []; $this->data['menu'] = $sitemenu->getMenu(); }