File: D:/HostingSpaces/SBogers95/rentman.io/app/Komma/Dynamic/ComponentRoutes.php
<?php
namespace App\Komma\Dynamic;
use Illuminate\Support\Facades\Route;
final class ComponentRoutes
{
/**
* Routes that are used for and within the KMS
* Will be prefixed with 'kms/api' by the Route::group in the RouteResolver
*/
public static function kmsApi()
{
Route::get('dynamic/component', ComponentApiController::class.'@getAllAvailableComponentTypeNames');
Route::post('dynamic/component/resolve', ComponentApiController::class.'@resolveComponentTypeToViewFromRequest');
Route::post('dynamic/componentArea/resolve', ComponentApiController::class.'@resolveComponentAreaToView');
}
}