Yes, but you can't call $resolver->resolve($myOptions, 0); 
So one flag is required (but only one).

In that case, IMO, it should be $mode or $policy, but not $flags