ApplicationMixin.php
33 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package SureCartAppCore |
| 4 | * @author SureCart <support@surecart.com> |
| 5 | * @copyright SureCart |
| 6 | * @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 |
| 7 | * @link https://surecart.com |
| 8 | */ |
| 9 | |
| 10 | namespace SureCartAppCore\Application; |
| 11 | |
| 12 | use SureCartAppCore\AppCore\AppCore; |
| 13 | |
| 14 | /** |
| 15 | * Can be applied to your App class via a "@mixin" annotation for better IDE support. |
| 16 | * This class is not meant to be used in any other capacity. |
| 17 | * |
| 18 | * @codeCoverageIgnore |
| 19 | */ |
| 20 | final class ApplicationMixin { |
| 21 | /** |
| 22 | * Prevent class instantiation. |
| 23 | */ |
| 24 | private function __construct() {} |
| 25 | |
| 26 | /** |
| 27 | * Get the Theme service instance. |
| 28 | * |
| 29 | * @return AppCore |
| 30 | */ |
| 31 | public static function core() {} |
| 32 | } |
| 33 |