| 1 |
<?php |
| 2 |
|
| 3 |
namespace Booktics\Shortcode; |
| 4 |
|
| 5 |
use Booktics\Contracts\Hookable_Service_Contract; |
| 6 |
use Booktics\Shortcode\Booking_Shortcode; |
| 7 |
use Booktics\Shortcode\Service_Shortcode; |
| 8 |
use Booktics\Shortcode\Customer_Shortcode; |
| 9 |
use Booktics\Shortcode\Category_Shortcode; |
| 10 |
|
| 11 |
/** |
| 12 |
* Base shortcode class |
| 13 |
*/ |
| 14 |
class Base_Shortcode implements Hookable_Service_Contract { |
| 15 |
/** |
| 16 |
* Register all shortcodes |
| 17 |
* |
| 18 |
* @return void |
| 19 |
*/ |
| 20 |
public function register() { |
| 21 |
new Booking_Shortcode(); |
| 22 |
new Service_Shortcode(); |
| 23 |
new Customer_Shortcode(); |
| 24 |
new Category_Shortcode(); |
| 25 |
} |
| 26 |
} |
| 27 |
|