????

Your IP : 3.147.7.83


Current Path : /home/thenclexdoctor.com/.trash/vendor/aws/aws-sdk-php/src/EndpointV2/Rule/
Upload File :
Current File : /home/thenclexdoctor.com/.trash/vendor/aws/aws-sdk-php/src/EndpointV2/Rule/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`'
                );
        }
    }
}


Page not found | The NCLEX Doctor

Page not found!

Sorry, this page is not available...