nativegallery-weryskok/app/Controllers/ApiController.php
2024-07-05 11:13:28 +03:00

28 lines
No EOL
604 B
PHP

<?php
namespace App\Controllers;
use \App\Services\{Router, Auth, DB, Json};
use \App\Controllers\ExceptionRegister;
use \App\Core\Page;
use \App\Controllers\Api\{Login, Register};
use \App\Controllers\Api\Images\{Upload};
use \App\Controllers\Api\Images\Rate as PhotoVote;
class ApiController
{
public static function login() {
return new Login();
}
public static function register() {
return new Register();
}
public static function upload() {
return new Upload();
}
public static function photovote() {
return new PhotoVote();
}
}