public function clientAction()
    {
        $worker = $this->getWorker();
        // Worker can be undefined if server went away
        // For the current instance or if we have no instance selected
        if(!$worker) {
            return new RedirectResponse($this->generateUrl('ringo_php_redmon'));
        }
        return $this->render(
            $this->getTemplatePath().'client.html.twig',
            array(
                'instance' => $worker->getInstance(),
                'clients'=> $worker->getClients()
            )
        );
    }
public function clientAction()
    {
        $worker = $this->getWorker();
        // Worker can be undefined if server went away
        // For the current instance or if we have no instance selected
        if(!$worker) {
            return new RedirectResponse($this->generateUrl('ringo_php_redmon'));
        }
        return $this->render(
            $this->getTemplatePath().'client.html.twig',
            array(
                'instance' => $worker->getInstance(),
                'clients'=> $worker->getClients()
            )
        );
    }
public function clientAction ( ) { $ worker = $ this -> getWorker ( ) ; // Worker can be undefined if server went away // For the current instance or if we have no instance selected if ( ! $ worker ) { return new RedirectResponse ( $ this -> generateUrl ( 'ringo_php_redmon' ) ) ; } return $ this -> render ( $ this -> getTemplatePath ( ) . 'client.html.twig' , array ( 'instance' => $ worker -> getInstance ( ) , 'clients' => $ worker -> getClients ( ) ) ) ; }
Render client list for the current instance

@return \Symfony\Component\HttpFoundation\RedirectResponse
Render client list for the current instance