public function getFrameworkStatisticsActivity():Renderer
    {

        $appmaster = $this->getMaster('Apps');
        $appstats = $appmaster->getStatisticsApp();

        // ROUTING STATS IS TOO LONG - CHECK IT TO OPTIMIZE
        $routiningmaster = $this->getMaster('Routing');
        $routingstats = $routiningmaster->getStatisticsRouting();
        
        $dbmaster = $this->getMaster('Databases');
        $dbstats = $dbmaster->getStatisticsDatabases();


        $logsmaster = $this->getMaster('Logs');
        $logsstats = $logsmaster->getStatisticsLogs();

        $servicemaster = $this->getMaster('Services');
        $servicestats = $servicemaster->getStatisticsServices();



        return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => array("apps" => $appstats,
            "routes" => $routingstats, "dbs" => $dbstats, "logs" => $logsstats, "services" => $servicestats))));
    }
public function getFrameworkStatisticsActivity():Renderer
    {

        $appmaster = $this->getMaster('Apps');
        $appstats = $appmaster->getStatisticsApp();

        // ROUTING STATS IS TOO LONG - CHECK IT TO OPTIMIZE
        $routiningmaster = $this->getMaster('Routing');
        $routingstats = $routiningmaster->getStatisticsRouting();
        
        $dbmaster = $this->getMaster('Databases');
        $dbstats = $dbmaster->getStatisticsDatabases();


        $logsmaster = $this->getMaster('Logs');
        $logsstats = $logsmaster->getStatisticsLogs();

        $servicemaster = $this->getMaster('Services');
        $servicestats = $servicemaster->getStatisticsServices();



        return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => array("apps" => $appstats,
            "routes" => $routingstats, "dbs" => $dbstats, "logs" => $logsstats, "services" => $servicestats))));
    }
public function getFrameworkStatisticsActivity ( ) : Renderer { $ appmaster = $ this -> getMaster ( 'Apps' ) ; $ appstats = $ appmaster -> getStatisticsApp ( ) ; // ROUTING STATS IS TOO LONG - CHECK IT TO OPTIMIZE $ routiningmaster = $ this -> getMaster ( 'Routing' ) ; $ routingstats = $ routiningmaster -> getStatisticsRouting ( ) ; $ dbmaster = $ this -> getMaster ( 'Databases' ) ; $ dbstats = $ dbmaster -> getStatisticsDatabases ( ) ; $ logsmaster = $ this -> getMaster ( 'Logs' ) ; $ logsstats = $ logsmaster -> getStatisticsLogs ( ) ; $ servicemaster = $ this -> getMaster ( 'Services' ) ; $ servicestats = $ servicemaster -> getStatisticsServices ( ) ; return ( ( new Renderer ( ) ) -> jsonRenderer ( array ( "code" => 200 , "results" => array ( "apps" => $ appstats , "routes" => $ routingstats , "dbs" => $ dbstats , "logs" => $ logsstats , "services" => $ servicestats ) ) ) ) ; }
Get the framework statistics
@return Renderer JSON response log list
@throws Server500
Get the framework statistics