public static function initialize(Session $session) : void
    {
        static::$_session = $session;

        if(!static::$_session->keyExists("_RESULTS")) {
            static::$_session->set("_RESULTS", []);
        }
    }
public static function initialize(Session $session) : void
    {
        static::$_session = $session;

        if(!static::$_session->keyExists("_RESULTS")) {
            static::$_session->set("_RESULTS", []);
        }
    }
public static function initialize ( Session $ session ) : void { static :: $ _session = $ session ; if ( ! static :: $ _session -> keyExists ( "_RESULTS" ) ) { static :: $ _session -> set ( "_RESULTS" , [ ] ) ; } }
Sets session object.

@param Session $session Session where results will be saved.
Sets session object .