public function persisted(\Twig_Environment $environment) { $response = ''; $provider = $this->counter_management_manager->getProvider('persisted'); $response .= $environment->render('ItBlasterCounterManagementBundle:WebCounter/render:' . $provider->getIdentity() . '.html.twig', array('web_counter_list' => $provider->getWebCounterList())); return $response; }
/** * @param WebCounter $counter */ protected function generateCode(WebCounter $counter) { $provider = $this->counter_management_manager->getProvider($counter->getTypeKey()); }