public function getResolver()
    {
        if (! $this->resolver instanceof Resolver\AggregateResolver) {
            $this->resolver = new Resolver\AggregateResolver();
            $this->resolver->attach(new Resolver\DefaultResolver(), 0);
        }
        return $this->resolver;
    }