public function __construct($title) { $rootNavigationItem = new NavigationItem($title); $this->setNavigation(new Navigation($rootNavigationItem)); }