__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Aws\EndpointV2\Rule;
use Aws\Exception\UnresolvedEndpointException;
class RuleCreator
{
public static function create($type, $definition)
{
switch ($type) {
case 'endpoint':
return new EndpointRule($definition);
case 'error':
return new ErrorRule($definition);
case 'tree':
return new TreeRule($definition);
default:
throw new UnresolvedEndpointException(
'Unknown rule type ' . $type .
' must be of type `endpoint`, `tree` or `error`'
);
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AbstractRule.php | File | 1.41 KB | 0777 |
|
| EndpointRule.php | File | 3.28 KB | 0777 |
|
| ErrorRule.php | File | 1.05 KB | 0777 |
|
| RuleCreator.php | File | 661 B | 0777 |
|
| TreeRule.php | File | 1.53 KB | 0777 |
|