public function save(string $role, ...$options)
    {
        $resource = $options[0];
        $permission = $options[1];
        $status = (isset($options[2])) ? $options[2] : true;

        $this->registry[$role][$resource][$permission]["status"] = $status;
    }
public function save(string $role, ...$options)
    {
        $resource = $options[0];
        $permission = $options[1];
        $status = (isset($options[2])) ? $options[2] : true;

        $this->registry[$role][$resource][$permission]["status"] = $status;
    }
public function save ( string $ role , ... $ options ) { $ resource = $ options [ 0 ] ; $ permission = $ options [ 1 ] ; $ status = ( isset ( $ options [ 2 ] ) ) ? $ options [ 2 ] : true ; $ this -> registry [ $ role ] [ $ resource ] [ $ permission ] [ "status" ] = $ status ; }
Overrides the global save method

@param string $role
@param variadic $options
@throws Exception
@return void
Overrides the global save method