mirror of
https://github.com/WerySkok/nativegallery.git
synced 2024-11-15 19:49:16 +03:00
23 lines
No EOL
473 B
PHP
23 lines
No EOL
473 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};
|
|
class ApiController
|
|
{
|
|
|
|
|
|
public static function login() {
|
|
return new Login();
|
|
}
|
|
public static function register() {
|
|
return new Register();
|
|
}
|
|
public static function upload() {
|
|
return new Upload();
|
|
}
|
|
|
|
} |