<?phpnamespace App\Manager;use App\Service\Internal\CmsService;class CmsManager{ /** * @var CmsService */ private $cmsService; public function __construct(CmsService $cmsService) { $this->cmsService = $cmsService; } /** * Get CMS navigation to build */ public function getCmsPages(): array { $pages = $this->cmsService->getMenu(); return $pages; }}