__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Aws\Api\Serializer;
use Aws\Api\Shape;
use Aws\Api\ListShape;
/**
* @internal
*/
class Ec2ParamBuilder extends QueryParamBuilder
{
protected function queryName(Shape $shape, $default = null)
{
return ($shape['queryName']
?: ucfirst(@$shape['locationName'] ?: ""))
?: $default;
}
protected function isFlat(Shape $shape)
{
return false;
}
protected function format_list(
ListShape $shape,
array $value,
$prefix,
&$query
) {
// Handle empty list serialization
if (!empty($value)) {
$items = $shape->getMember();
foreach ($value as $k => $v) {
$this->format($items, $v, $prefix . '.' . ($k + 1), $query);
}
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Ec2ParamBuilder.php | File | 819 B | 0777 |
|
| JsonBody.php | File | 3.01 KB | 0777 |
|
| JsonRpcSerializer.php | File | 2.32 KB | 0777 |
|
| QueryParamBuilder.php | File | 3.92 KB | 0777 |
|
| QuerySerializer.php | File | 2.23 KB | 0777 |
|
| RestJsonSerializer.php | File | 1.11 KB | 0777 |
|
| RestSerializer.php | File | 9.97 KB | 0777 |
|
| RestXmlSerializer.php | File | 1.25 KB | 0777 |
|
| XmlBody.php | File | 5.78 KB | 0777 |
|