1: <?php
2:
3: namespace LeadCommerce\Shopware\SDK\Query;
4:
5: use LeadCommerce\Shopware\SDK\Util\Constants;
6:
7: /**
8: * Class CacheQuery
9: *
10: * @author Alexander Mahrt <amahrt@leadcommerce.de>
11: * @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
12: */
13: class CacheQuery extends Base
14: {
15: /**
16: * @var array
17: */
18: protected $methodsAllowed = [
19: Constants::METHOD_GET,
20: Constants::METHOD_GET_BATCH,
21: Constants::METHOD_DELETE,
22: Constants::METHOD_DELETE_BATCH,
23: ];
24:
25: /**
26: * @return mixed
27: */
28: protected function getClass()
29: {
30: return 'LeadCommerce\\Shopware\\SDK\\Entity\\Cache';
31: }
32:
33: /**
34: * @return string
35: */
36: protected function getQueryPath()
37: {
38: return 'caches';
39: }
40: }
41: