Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd
/
wp-content
/
plugins
/
woocommerce
/
packages
/
blueprint
/
src
/
ResourceStorages
/
File Content:
ResourceStorage.php
<?php namespace Automattic\WooCommerce\Blueprint\ResourceStorages; /** * Interface ResourceStorage * * ResourceStorage is an abstraction layer for various storages for WordPress files * such as plugins and themes. It provides a common interface for downloading * the files whether they are stored locally or remotely. * * @package Automattic\WooCommerce\Blueprint\ResourceStorages */ interface ResourceStorage { /** * Return supported resource type. * * @return string */ public function get_supported_resource(): string; /** * Download the resource. * * @param string $slug resource slug. * * @return string|null downloaded local path. */ public function download( $slug ): ?string; }
Submit
FILE
FOLDER
Name
Size
Permission
Action
LocalPluginResourceStorage.php
1286 bytes
0644
LocalThemeResourceStorage.php
448 bytes
0644
OrgPluginResourceStorage.php
1946 bytes
0644
OrgThemeResourceStorage.php
870 bytes
0644
ResourceStorage.php
721 bytes
0644
N4ST4R_ID | Naxtarrr