I have a custom implementation of the RunnerInterface that decorates the default one, and I'd like to be able to modify some options in it.
Currently, it's hard to instantiate a new Options object because the constructor is private, so I added a with method to help with that. I could also change the visibility of the constructor instead. I'd be ok with either approach, it'd just be nice to be able to do this.
I have a custom implementation of the
RunnerInterface
that decorates the default one, and I'd like to be able to modify some options in it. Currently, it's hard to instantiate a newOptions
object because the constructor is private, so I added awith
method to help with that. I could also change the visibility of the constructor instead. I'd be ok with either approach, it'd just be nice to be able to do this.