add-render-state-endpoint-option.php
3 years ago
add-render-state-endpoint-table.php
3 years ago
delete-render-states-endpoint.php
3 years ago
rest-api-controller.php
3 years ago
rest-api-controller.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Blocks\Conditional_Block\Rest_Api; |
| 5 | |
| 6 | |
| 7 | use Jet_Form_Builder\Rest_Api\Rest_Api_Controller_Base; |
| 8 | use Jet_Form_Builder\Rest_Api\Rest_Api_Endpoint_Base; |
| 9 | |
| 10 | class Rest_Api_Controller extends Rest_Api_Controller_Base { |
| 11 | |
| 12 | /** |
| 13 | * @return Rest_Api_Endpoint_Base[] |
| 14 | */ |
| 15 | public function routes(): array { |
| 16 | return array( |
| 17 | new Add_Render_State_Endpoint_Option(), |
| 18 | new Delete_Render_States_Endpoint(), |
| 19 | ); |
| 20 | } |
| 21 | } |