public function addResolver($className, ResolverInterface $resolver)
    {
        if (! class_exists($className)) {
            throw new InvalidArgumentException(
                "The cass '{$className} was not found."
            );
        }

        $this->_definitionResolvers[$className] = $resolver;
        return $this;
    }