1: <?php
2: /**
3: * PHP OpenCloud library.
4: *
5: * @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
6: * @license https://www.apache.org/licenses/LICENSE-2.0
7: * @author Glen Campbell <glen.campbell@rackspace.com>
8: * @author Jamie Hannaford <jamie.hannaford@rackspace.com>
9: */
10:
11: namespace OpenCloud\CloudMonitoring\Resource;
12:
13: /**
14: * ReadonlyResource class.
15: *
16: * @extends AbstractResource
17: */
18: class ReadonlyResource extends AbstractResource
19: {
20:
21: public function create($params = array())
22: {
23: return $this->noCreate();
24: }
25:
26: public function update($params = array())
27: {
28: return $this->noUpdate();
29: }
30:
31: public function delete($params = array())
32: {
33: return $this->noDelete();
34: }
35:
36: }