public function add_expiredroles(array $roleids) : expired_context {
        $existing = $this->get('expiredroles');
        $newvalue = array_merge($existing, $roleids);

        $this->set('expiredroles', $newvalue);

        return $this;
    }
public function add_expiredroles(array $roleids) : expired_context {
        $existing = $this->get('expiredroles');
        $newvalue = array_merge($existing, $roleids);

        $this->set('expiredroles', $newvalue);

        return $this;
    }
public function add_expiredroles ( array $ roleids ) : expired_context { $ existing = $ this -> get ( 'expiredroles' ) ; $ newvalue = array_merge ( $ existing , $ roleids ) ; $ this -> set ( 'expiredroles' , $ newvalue ) ; return $ this ; }
Add a set of role IDs to the list of expired role IDs.

@param   int[]   $roleids
@return  expired_context
Add a set of role IDs to the list of expired role IDs .