public function getDefaultAppActivity():Renderer
    {
        $default = array();
        $file = (array) JL::open(FEnv::get("framework.config.core.apps.file"));
        foreach ($file as $one) {
            if ($one->isdefault == "yes") {
                $default = $one;
                break;
            }
        }
        return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => $default)));
    }
public function getDefaultAppActivity():Renderer
    {
        $default = array();
        $file = (array) JL::open(FEnv::get("framework.config.core.apps.file"));
        foreach ($file as $one) {
            if ($one->isdefault == "yes") {
                $default = $one;
                break;
            }
        }
        return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => $default)));
    }
public function getDefaultAppActivity ( ) : Renderer { $ default = array ( ) ; $ file = ( array ) JL :: open ( FEnv :: get ( "framework.config.core.apps.file" ) ) ; foreach ( $ file as $ one ) { if ( $ one -> isdefault == "yes" ) { $ default = $ one ; break ; } } return ( ( new Renderer ( ) ) -> jsonRenderer ( array ( "code" => 200 , "results" => $ default ) ) ) ; }
Get default App
@return Renderer JSON response log list
@throws Server500
Get default App