*/ 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:----U3b7TgG8enP/qtT9Dc7DxgLRi0Lod2exd7vgh/j/x8sTNyg75lyjFJxIiIvpROI/gGD6m50Po6y8GzlvxWkVQEWo9GCAObinHZFXeth5AMu66U0fgO9mEZUWTV7nVCnbCDEsrbN8qkuCjuyzqX8kIEHy+mc9+ZCD2E4PovDP6D59c+7661HBh3EkwfL/HFNapP9kwe4HdH1dgKF7NGhoL8wT7T1M3rtdjFUOdDMqeRPXAfHq0I5WAPocF8jhPSysLzPiJegjMAVzaQ9FocjyBY/2jUIw7i7gePaJshoEx/RiQ98pWMWkXPb81BlblsW8hrE9wIFKF3r40jAggmsEK5iveVZZDKS7pQfAL1jG9aJuX3Uzmuy8tK7opY8vB434nUjVdbN926gZiIiNGzErO3/ZFSXVLC7ggIJ60lM4rjRTwnXijbBbZi+GIcCJFVO5/LB5Z3Ex/xLjocutwB+iXnrgKHzaQeJAlhVrCI0TogtG71OLLIYjdUvn6cMF36wNTz1m0eq/Cno2ZmEJjCYblcbblUYe1ipG+t0XNFzEm81s61cDnRnslO4rXwGWGCSlnjGW/882YGjjHyqjCZKoQgMneOiVSOIGxii7x9OA+/ydZHgW/7OejwMR5IBYzTGo0up0dcTKXeRNMCkRdf+dRbpOufne7aP0t/BCgQslLVI=----ATTACHMENT:----MzM1NjY5NjI2MDU2MzM3NiA5ODgyNTA5MzE3MTI0MzYgNTU2MzIyMjA1MDg1NzM5Nw==