LocalPluginResourceStorage.php
1 year ago
LocalThemeResourceStorage.php
1 year ago
OrgPluginResourceStorage.php
1 year ago
OrgThemeResourceStorage.php
1 year ago
ResourceStorage.php
1 year ago
LocalThemeResourceStorage.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Blueprint\ResourceStorages; |
| 4 | |
| 5 | /** |
| 6 | * Class LocalThemeResourceStorage |
| 7 | */ |
| 8 | class LocalThemeResourceStorage extends LocalPluginResourceStorage { |
| 9 | /** |
| 10 | * The suffix. |
| 11 | * |
| 12 | * @var string The suffix. |
| 13 | */ |
| 14 | protected string $suffix = 'themes'; |
| 15 | |
| 16 | /** |
| 17 | * Get the supported resource. |
| 18 | * |
| 19 | * @return string The supported resource. |
| 20 | */ |
| 21 | public function get_supported_resource(): string { |
| 22 | return 'self/themes'; |
| 23 | } |
| 24 | } |
| 25 |