src/Slashworks/AppBundle/Controller/RemoteAppController.php
public function lastLogAction($id)
        {

            $oLog       = ApiLogQuery::create()->findOneByRemoteAppId($id);
            $oRemoteApp = RemoteAppQuery::create()->findOneById($id);

            return $this->render('SlashworksAppBundle:RemoteApp:log.html.twig', array(
                'oLog'       => $oLog,
                'remote_app' => $oRemoteApp,
            ));
        }
public function lastLogAction($id)
        {

            $oLog       = ApiLogQuery::create()->findOneByRemoteAppId($id);
            $oRemoteApp = RemoteAppQuery::create()->findOneById($id);

            return $this->render('SlashworksAppBundle:RemoteApp:log.html.twig', array(
                'oLog'       => $oLog,
                'remote_app' => $oRemoteApp,
            ));
        }
public function lastLogAction ( $ id ) { $ oLog = ApiLogQuery :: create ( ) -> findOneByRemoteAppId ( $ id ) ; $ oRemoteApp = RemoteAppQuery :: create ( ) -> findOneById ( $ id ) ; return $ this -> render ( 'SlashworksAppBundle:RemoteApp:log.html.twig' , array ( 'oLog' => $ oLog , 'remote_app' => $ oRemoteApp , ) ) ; }
Shows last api-log entry

@param $id

@return \Symfony\Component\HttpFoundation\Response
Shows last api - log entry