Sid Gifari File Manager
🏠 Root
/
home
/
nradmin
/
www
/
wp-content
/
plugins
/
w3-total-cache
/
vendor
/
aws
/
aws-sdk-php
/
src
/
EndpointV2
/
Rule
/
📝 Editing: RuleCreator.php
<?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`' ); } } }
💾 Save
❌ Cancel
Sid Gifari File Manager v1.0 | Terminal Auto-Sync Enabled | Current Path: /home/nradmin/www/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/EndpointV2/Rule