public function createConfigByMethodName($methodName)
    {
        $options = array();
        if (preg_match_all('/:([\w]+)/', $methodName, $matches)) {
            for ($i = 1; $i < count($matches); $i++) {
                $options['$'.$i] = $matches[$i][0];
            }
        }
        if (in_array($methodName, $this->uploadMethodNames)) {
            $options['url'] = self::UPLOAD_API_URL;
        }
        return $options;
    }