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

        return join(', ', $parameters);
    }