protected static function get_nested_expiry_info($contextpath = '') : array {
        $coursepaths = self::get_nested_expiry_info_for_courses($contextpath);
        $userpaths = self::get_nested_expiry_info_for_user($contextpath);

        return array_merge($coursepaths, $userpaths);
    }
protected static function get_nested_expiry_info($contextpath = '') : array {
        $coursepaths = self::get_nested_expiry_info_for_courses($contextpath);
        $userpaths = self::get_nested_expiry_info_for_user($contextpath);

        return array_merge($coursepaths, $userpaths);
    }
protected static function get_nested_expiry_info ( $ contextpath = '' ) : array { $ coursepaths = self :: get_nested_expiry_info_for_courses ( $ contextpath ) ; $ userpaths = self :: get_nested_expiry_info_for_user ( $ contextpath ) ; return array_merge ( $ coursepaths , $ userpaths ) ; }
Get the full nested set of expiry data relating to all contexts.

@param   string      $contextpath A contexpath to restrict results to
@return  \stdClass[]
Get the full nested set of expiry data relating to all contexts .