public function adminAction() { $this->assertUserRights(UserRole::ROLE_ADMIN); $owner = $this->getProject()->getOwner(); $subscriptionHandler = $this->get('koalamon.subscription.handler'); $subscription = $subscriptionHandler->getSubscription($owner); return $this->render('KoalamonDefaultBundle:System:admin.html.twig', ['subscriptionHandler' => $subscriptionHandler, 'subscription' => $subscription, 'usedSystems' => $owner->getUsedSystems(), 'sizes' => System::getSizes()]); }