| 1 |
<?php |
| 2 |
|
| 3 |
namespace Depicter\Application; |
| 4 |
|
| 5 |
use Averta\WordPress\Cache\WPCache; |
| 6 |
use Averta\WordPress\Event\Action; |
| 7 |
use Averta\WordPress\Event\Filter; |
| 8 |
use Averta\WordPress\Models\WPOptions; |
| 9 |
use Depicter; |
| 10 |
use Depicter\Database\Repository\DocumentRepository; |
| 11 |
use Depicter\Editor\Editor; |
| 12 |
use Depicter\Front\Front; |
| 13 |
use Depicter\Front\Symbols; |
| 14 |
use Depicter\Services\ClientService; |
| 15 |
use Depicter\Services\ExportService; |
| 16 |
use Depicter\Services\ImportService; |
| 17 |
use Depicter\Services\MediaBridge; |
| 18 |
use Depicter\Services\RemoteAPIService; |
| 19 |
use Depicter\Services\StorageService; |
| 20 |
use Depicter\WordPress\DeactivationFeedbackService; |
| 21 |
use Depicter\WordPress\FileUploaderService; |
| 22 |
use WPEmergeAppCore\AppCore\AppCore; |
| 23 |
use Depicter\WordPress\RoleManager; |
| 24 |
|
| 25 |
/** |
| 26 |
* "@mixin" annotation for better IDE support. |
| 27 |
* This class is not meant to be used in any other capacity. |
| 28 |
* |
| 29 |
* @codeCoverageIgnore |
| 30 |
*/ |
| 31 |
final class AppMixin |
| 32 |
{ |
| 33 |
|
| 34 |
/** |
| 35 |
* Get the Application instance. |
| 36 |
* |
| 37 |
* @codeCoverageIgnore |
| 38 |
* @return Depicter |
| 39 |
*/ |
| 40 |
public static function app() {} |
| 41 |
|
| 42 |
/** |
| 43 |
* Get the Theme service instance. |
| 44 |
* |
| 45 |
* @return AppCore |
| 46 |
*/ |
| 47 |
public static function core() {} |
| 48 |
|
| 49 |
/** |
| 50 |
* @return WPOptions |
| 51 |
*/ |
| 52 |
public static function options() {} |
| 53 |
|
| 54 |
/** |
| 55 |
* @return Depicter\Document\Manager |
| 56 |
*/ |
| 57 |
public static function document() {} |
| 58 |
|
| 59 |
/** |
| 60 |
* @return Action |
| 61 |
*/ |
| 62 |
public static function action() {} |
| 63 |
|
| 64 |
/** |
| 65 |
* @return Filter |
| 66 |
*/ |
| 67 |
public static function filter() {} |
| 68 |
|
| 69 |
/** |
| 70 |
* @return Editor |
| 71 |
*/ |
| 72 |
public static function editor() {} |
| 73 |
|
| 74 |
/** |
| 75 |
* @return MediaBridge |
| 76 |
*/ |
| 77 |
public static function media() {} |
| 78 |
|
| 79 |
/** |
| 80 |
* @return RemoteAPIService |
| 81 |
*/ |
| 82 |
public static function remote() {} |
| 83 |
|
| 84 |
/** |
| 85 |
* @return DocumentRepository |
| 86 |
*/ |
| 87 |
public static function documentRepository() {} |
| 88 |
|
| 89 |
/** |
| 90 |
* @return Front |
| 91 |
*/ |
| 92 |
public static function front() {} |
| 93 |
|
| 94 |
/** |
| 95 |
* @return StorageService |
| 96 |
*/ |
| 97 |
public static function storage() {} |
| 98 |
|
| 99 |
/** |
| 100 |
* Retrieves the cache module |
| 101 |
* |
| 102 |
* @param string $module |
| 103 |
* |
| 104 |
* @return WPCache |
| 105 |
*/ |
| 106 |
public static function cache( $module = 'api' ){} |
| 107 |
|
| 108 |
/** |
| 109 |
* @return DeactivationFeedbackService |
| 110 |
*/ |
| 111 |
public static function deactivationFeedback(){} |
| 112 |
|
| 113 |
/** |
| 114 |
* @return ClientService |
| 115 |
*/ |
| 116 |
public static function client(){} |
| 117 |
|
| 118 |
/** |
| 119 |
* @return FileUploaderService |
| 120 |
*/ |
| 121 |
public static function fileUploader(){} |
| 122 |
|
| 123 |
/** |
| 124 |
* @return Depicter\DataSources\Manager |
| 125 |
*/ |
| 126 |
public static function dataSource(){} |
| 127 |
|
| 128 |
/** |
| 129 |
* @return ExportService |
| 130 |
*/ |
| 131 |
public static function exportService(){} |
| 132 |
|
| 133 |
/** |
| 134 |
* @return ImportService |
| 135 |
*/ |
| 136 |
public static function importService(){} |
| 137 |
|
| 138 |
/** |
| 139 |
* @return Symbols |
| 140 |
*/ |
| 141 |
public static function symbolsProvider(){} |
| 142 |
} |
| 143 |
|