admin
1 year ago
models
1 year ago
query-views
1 year ago
rest-endpoints
1 year ago
tab-handlers
1 year ago
module.php
1 year ago
tools.php
1 year ago
user-journey-rest-controller.php
1 year ago
user-journey-rest-controller.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace JFB_Modules\User_Journey; |
| 4 | |
| 5 | use JFB_Modules\User_Journey\Rest_Endpoints; |
| 6 | use JFB_Components\Rest_Api\Rest_Api_Controller_Base; |
| 7 | |
| 8 | // If this file is called directly, abort. |
| 9 | if ( ! defined( 'WPINC' ) ) { |
| 10 | die; |
| 11 | } |
| 12 | |
| 13 | class User_Journey_Rest_Controller extends Rest_Api_Controller_Base { |
| 14 | |
| 15 | /** |
| 16 | * @inheritDoc |
| 17 | */ |
| 18 | public function routes(): array { |
| 19 | return array( |
| 20 | new Rest_Endpoints\Fetch_User_Journey_Box_Endpoint(), |
| 21 | ); |
| 22 | } |
| 23 | } |
| 24 |