private function _getConstructorValuesForDefinition($definition)
    {
        $args = array();
        foreach ($definition->getArguments() as $argument) {
            $value = $this->_getValueFromDefinition($argument);
            if ($argument->hasName()) {
                $name = $argument->getName();
                $args[$name] = $value;
            } else {
                $args[] = $value;
            }
        }
        return $args;
    }