public function loadDependenciesByMethodInvocation(MethodInvocationDescriptorInterface $descriptor)
    {

        // initialize the array with the dependencies
        $dependencies = array();

        // load the dependencies from the DI provider
        foreach ($descriptor->getArguments() as $argument) {
            $dependencies[] = $this->get((string) $argument);
        }

        // return the dependencies
        return $dependencies;
    }