| @@ -1,0 +1,43 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * @package VikBooking | |
| 4 | + * @subpackage core | |
| 5 | + * @author E4J s.r.l. | |
| 6 | + * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved. | |
| 7 | + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | |
| 8 | + * @link https://vikwp.com | |
| 9 | + */ | |
| 10 | + | |
| 11 | +// No direct access | |
| 12 | +defined('ABSPATH') or die('No script kiddies please!'); | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * Declares all the helper methods that may differ between every supported platform. | |
| 16 | + * | |
| 17 | + * @since 1.5 | |
| 18 | + */ | |
| 19 | +interface VBOPlatformInterface | |
| 20 | +{ | |
| 21 | + /** | |
| 22 | + * Returns the URI helper instance. | |
| 23 | + * | |
| 24 | + * @return VBOPlatformUriInterface | |
| 25 | + */ | |
| 26 | + public function getUri(); | |
| 27 | + | |
| 28 | + /** | |
| 29 | + * Returns the mail sender instance. | |
| 30 | + * | |
| 31 | + * @return VBOPlatformMailerInterface | |
| 32 | + */ | |
| 33 | + public function getMailer(); | |
| 34 | + | |
| 35 | + /** | |
| 36 | + * Returns the event dispatcher instance. | |
| 37 | + * | |
| 38 | + * @return VBOPlatformDispatcherInterface | |
| 39 | + * | |
| 40 | + * @since 1.5.10 | |
| 41 | + */ | |
| 42 | + public function getDispatcher(); | |
| 43 | +} | |