public static function getMethodCallParameters($method)
    {
        $parameters = array();
        foreach ($method->getParameters() as $i => $parameter) {
            $parameters[] = '$' . $parameter->getName();
        }

        return join(', ', $parameters);
    }
public static function getMethodCallParameters($method)
    {
        $parameters = array();
        foreach ($method->getParameters() as $i => $parameter) {
            $parameters[] = '$' . $parameter->getName();
        }

        return join(', ', $parameters);
    }
public static function getMethodCallParameters ( $ method ) { $ parameters = array ( ) ; foreach ( $ method -> getParameters ( ) as $ i => $ parameter ) { $ parameters [ ] = '$' . $ parameter -> getName ( ) ; } return join ( ', ' , $ parameters ) ; }
Gets the arguments the proxied method expectes.

@param \ReflectionMethod $method

@return array List of parameters to be passed to the proxied method.
Gets the arguments the proxied method expectes .