public function __construct(ValueResolverInterface $resolver = null) { $this->resolver = $resolver; }