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;
    }
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;
    }
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 ; }
Loads the dependencies for the passed method invocation descriptor.

@param \AppserverIo\Psr\EnterpriseBeans\Description\MethodInvocationDescriptorInterface $descriptor The descriptor to load the dependencies for

@return array The array with the initialized dependencies
Loads the dependencies for the passed method invocation descriptor .