public function toUptimeString($uptime)
    {
        return (string) CarbonInterval::days(
            isset($uptime['up_days']) ? $uptime['up_days'] : 0
        )
            ->hours(isset($uptime['up_hours']) ? $uptime['up_hours'] : 0)
            ->minutes(isset($uptime['up_minutes']) ? $uptime['up_minutes'] : 0);
    }
public function toUptimeString($uptime)
    {
        return (string) CarbonInterval::days(
            isset($uptime['up_days']) ? $uptime['up_days'] : 0
        )
            ->hours(isset($uptime['up_hours']) ? $uptime['up_hours'] : 0)
            ->minutes(isset($uptime['up_minutes']) ? $uptime['up_minutes'] : 0);
    }
public function toUptimeString ( $ uptime ) { return ( string ) CarbonInterval :: days ( isset ( $ uptime [ 'up_days' ] ) ? $ uptime [ 'up_days' ] : 0 ) -> hours ( isset ( $ uptime [ 'up_hours' ] ) ? $ uptime [ 'up_hours' ] : 0 ) -> minutes ( isset ( $ uptime [ 'up_minutes' ] ) ? $ uptime [ 'up_minutes' ] : 0 ) ; }
Convert uptime to human readable string.

@param $uptime
@return string
Convert uptime to human readable string .