| 1 |
<?php |
| 2 |
/** |
| 3 |
* Constants Interface |
| 4 |
* |
| 5 |
* @package SeQura/WC |
| 6 |
* @subpackage SeQura/WC/Services |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace SeQura\WC\Services; |
| 10 |
|
| 11 |
/** |
| 12 |
* Provides methods access application Constants. |
| 13 |
*/ |
| 14 |
interface Interface_Constants { |
| 15 |
|
| 16 |
/** |
| 17 |
* Get the plugin directory path. |
| 18 |
*/ |
| 19 |
public function get_plugin_dir_path(): string; |
| 20 |
/** |
| 21 |
* Get the plugin file path. |
| 22 |
*/ |
| 23 |
public function get_plugin_file_path(): string; |
| 24 |
/** |
| 25 |
* Get the plugin log file path. |
| 26 |
*/ |
| 27 |
public function get_plugin_log_file_path(): string; |
| 28 |
/** |
| 29 |
* Get the plugin basename. |
| 30 |
*/ |
| 31 |
public function get_plugin_basename(): string; |
| 32 |
/** |
| 33 |
* Get the plugin directory URL. |
| 34 |
*/ |
| 35 |
public function get_plugin_dir_url(): string; |
| 36 |
/** |
| 37 |
* Get the plugin rest namespace. |
| 38 |
*/ |
| 39 |
public function get_plugin_rest_namespace(): string; |
| 40 |
/** |
| 41 |
* Get the plugin rest version. |
| 42 |
*/ |
| 43 |
public function get_woocommerce_data(): array; |
| 44 |
/** |
| 45 |
* Get the plugin rest version. |
| 46 |
*/ |
| 47 |
public function get_plugin_data(): array; |
| 48 |
/** |
| 49 |
* Get the plugin environment data. |
| 50 |
*/ |
| 51 |
public function get_environment_data(): array; |
| 52 |
/** |
| 53 |
* Get the plugin templates path. |
| 54 |
*/ |
| 55 |
public function get_plugin_templates_path(): string; |
| 56 |
/** |
| 57 |
* Get the plugin assets path. |
| 58 |
*/ |
| 59 |
public function get_plugin_assets_path(): string; |
| 60 |
/** |
| 61 |
* Get the plugin assets URL. |
| 62 |
*/ |
| 63 |
public function get_plugin_assets_url(): string; |
| 64 |
|
| 65 |
/** |
| 66 |
* Hook for adding order indexes. |
| 67 |
*/ |
| 68 |
public function get_hook_add_order_indexes(): string; |
| 69 |
} |
| 70 |
|