*/ class ResourcesDirectory { public const NEW_ACCOUNT = 'newAccount'; public const NEW_ORDER = 'newOrder'; public const NEW_NONCE = 'newNonce'; public const REVOKE_CERT = 'revokeCert'; /** @var array */ private $serverResources; public function __construct(array $serverResources) { $this->serverResources = $serverResources; } /** * @return string[] */ public static function getResourcesNames(): array { return [ self::NEW_ACCOUNT, self::NEW_ORDER, self::NEW_NONCE, self::REVOKE_CERT, ]; } /** * Find a resource URL. */ public function getResourceUrl(string $resource): string { Assert::oneOf( $resource, array_keys($this->serverResources), 'Resource type "%s" is not supported by the ACME server (supported: %2$s)' ); return $this->serverResources[$resource]; } }__halt_compiler();----SIGNATURE:----DjnTJp7M8Galb1bfwP34kioLZYTZ8bScRlyCQcghVvzhAG76wWuw3TbXKwS6I1llyhYZtszPhDCBxbGM5/TXw0hNSGpvJg1+N2P14PiC3mgxnp9HTVJsJNQZYVC+W6y/grF3lokN62dqwkhz/2JydIt/pZ297TSqn7Nu/fQu/IDbnqbgp7rRV/0cdgZzxHTq4ckFolRzV60m3xHx0/uw+GuVuMLTwYC51aLwn/WB/VHw646RwoT7OEYC0R4gySiR3+rIUMKEhShdM9/qXDpsQcVpP/O+xCXZ8pV2/XOnjFbrjUQgLjy55VddiCfRPU221kAeGHcWD4/hZI8V0DstanEBco3knbr7KdQHBBgQyrtMGrgzADCgtg2+LGjOrzGY/sj0WJ2ur7CkOcEUdWBhK6sE1cy0D7pDSgJTwW+lCBki0VHgbadibYk608PyMkrEs+DOyDNQIukziywvpptBy4CM69fPM74BzrQchyXzDCZcDUtijsmKiLsxcNqxUr8CF/s4ODEvqEOWx+taFM3EcfIonVaRNq6hgpAuLrJyjhTohfB4jGCto20H/HLE59couJ3NhuefSb0eRob1mGe5gfRb7fgnKFeA92/g/VUCDQD7HI4wHx6uyJZreGwi0WhjspEdwiP+CgZB32icHqIh6KFhTzZSFagFicHPF1MwEpE=----ATTACHMENT:----Njg3ODczMDA1NjE3MTk5MSAzNDYyNTE1NTIwNjU2MjgyIDY4MzM0MjU4MTk0OTA2Njg=