public function withValueResolver(ValueResolverInterface $resolver) : self { return new self($this->instantiator, $resolver); }