private function instantiateParameters(Command $command) {
        return array_map(function(\ReflectionParameter $param) {
            return $this->container->get($param->getType()->getName());
        }, (new ReflectionClass(get_class($command)))->getMethod('execute')->getParameters());
    }
private function instantiateParameters(Command $command) {
        return array_map(function(\ReflectionParameter $param) {
            return $this->container->get($param->getType()->getName());
        }, (new ReflectionClass(get_class($command)))->getMethod('execute')->getParameters());
    }
private function instantiateParameters ( Command $ command ) { return array_map ( function ( \ ReflectionParameter $ param ) { return $ this -> container -> get ( $ param -> getType ( ) -> getName ( ) ) ; } , ( new ReflectionClass ( get_class ( $ command ) ) ) -> getMethod ( 'execute' ) -> getParameters ( ) ) ; }
instantiate the parameters for the command's execution method
using the constructor injected container.

@param Command $command
@return array
@throws \ReflectionException
instantiate the parameters for the command s execution method using the constructor injected container .