private function listParameters(callable $callable): array
    {
        $parameters = [];
        foreach ($this->getReflection($callable)->getParameters() as $parameter) {
            $parameters[$parameter->getName()] = $parameter;
        }

        return $parameters;
    }
private function listParameters(callable $callable): array
    {
        $parameters = [];
        foreach ($this->getReflection($callable)->getParameters() as $parameter) {
            $parameters[$parameter->getName()] = $parameter;
        }

        return $parameters;
    }
private function listParameters ( callable $ callable ) : array { $ parameters = [ ] ; foreach ( $ this -> getReflection ( $ callable ) -> getParameters ( ) as $ parameter ) { $ parameters [ $ parameter -> getName ( ) ] = $ parameter ; } return $ parameters ; }
To extract the list of ReflectionParameter instances about the current callable.

@param callable $callable

@return \ReflectionParameter[]
@throws \ReflectionException
To extract the list of ReflectionParameter instances about the current callable .