/** * Get the Method Name * @param string $key * @param array $conf * @return string */ protected static function getMethodName($key, $conf) { if ($conf['method']) { return $conf['method']; } $n = \Sky\Api::toCamelCase($key); if ($n == $key) { $n = \Sky\Api::toCamelCase($key, '_'); } return $n; }