nativegallery-weryskok/app/Controllers/ApiController.php

19 lines
358 B
PHP
Raw Normal View History

2024-07-04 12:04:41 +03:00
<?php
namespace App\Controllers;
use \App\Services\{Router, Auth, DB, Json};
use \App\Controllers\ExceptionRegister;
use \App\Core\Page;
2024-07-04 13:20:40 +03:00
use \App\Controllers\Api\{Login, Register};
2024-07-04 12:50:26 +03:00
class ApiController
2024-07-04 12:04:41 +03:00
{
2024-07-04 12:50:26 +03:00
public static function login() {
return new Login();
2024-07-04 12:04:41 +03:00
}
2024-07-04 13:20:40 +03:00
public static function register() {
return new Register();
}
2024-07-04 12:04:41 +03:00
}