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