1: <?php
2: /**
3: * PHP OpenCloud library.
4: *
5: * @copyright Copyright 2013 Rackspace US, Inc. See COPYING for licensing information.
6: * @license https://www.apache.org/licenses/LICENSE-2.0 Apache 2.0
7: * @version 1.6.0
8: * @author Glen Campbell <glen.campbell@rackspace.com>
9: * @author Jamie Hannaford <jamie.hannaford@rackspace.com>
10: */
11:
12: namespace OpenCloud\DNS;
13:
14: /**
15: * The Subdomain is basically another domain, albeit one that is a child of
16: * a parent domain. In terms of the code involved, the JSON is slightly
17: * different than a top-level domain, and the parent is a domain instead of
18: * the DNS service itself.
19: */
20: class Subdomain extends Domain
21: {
22:
23: protected static $json_name = false;
24: protected static $json_collection_name = 'domains';
25: protected static $url_resource = 'subdomains';
26:
27: }
28: