public function getOneActivity(string $filename, string $appname)
    {
        return ((new Renderer())->jsonRenderer(array("code" => 200, "msg" => "OK", "results" =>
            $this->getMercureContent($filename, $appname))));
    }
public function getOneActivity(string $filename, string $appname)
    {
        return ((new Renderer())->jsonRenderer(array("code" => 200, "msg" => "OK", "results" =>
            $this->getMercureContent($filename, $appname))));
    }
public function getOneActivity ( string $ filename , string $ appname ) { return ( ( new Renderer ( ) ) -> jsonRenderer ( array ( "code" => 200 , "msg" => "OK" , "results" => $ this -> getMercureContent ( $ filename , $ appname ) ) ) ) ; }
Get a routing file
@param string $filename
@param string $appname
@return Renderer
@throws \Exception
Get a routing file