20240413#4
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Common\Controllers;
|
||||
namespace Base\Controllers;
|
||||
|
||||
use Laminas\Diactoros\Response\HtmlResponse;
|
||||
use Laminas\Diactoros\Response\JsonResponse;
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Common\Controllers;
|
||||
namespace Base\Controllers;
|
||||
|
||||
use App\Common\Repository\RepositoryException;
|
||||
use App\Common\Services\DTOException;
|
||||
use App\Common\Services\ServiceException;
|
||||
use Base\Repository\RepositoryException;
|
||||
use Base\Services\DTOException;
|
||||
use Base\Services\ServiceException;
|
||||
use Exception;
|
||||
use Throwable;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Common\Controllers;
|
||||
namespace Base\Controllers;
|
||||
|
||||
class NotFoundException extends \Exception {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* User: Zuev Yuri
|
||||
*/
|
||||
|
||||
namespace App\Common\Domain;
|
||||
namespace Base\Domain;
|
||||
|
||||
abstract class AbstractObject {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Common\Repository;
|
||||
namespace Base\Repository;
|
||||
|
||||
use App\Common\Domain\AbstractObject;
|
||||
use Base\Domain\AbstractObject;
|
||||
use Rmphp\Storage\Mysql\MysqlStorageInterface;
|
||||
|
||||
abstract class AbstractMysqlRepository {
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Common\Repository;
|
||||
namespace Base\Repository;
|
||||
|
||||
use Throwable;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Common\Services;
|
||||
namespace Base\Services;
|
||||
|
||||
use Exception;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Common\Services;
|
||||
namespace Base\Services;
|
||||
|
||||
use Rmphp\Kernel\Main;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace App\Common\Services;
|
||||
namespace Base\Services;
|
||||
|
||||
use Throwable;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace App\Common\Services;
|
||||
namespace Base\Services;
|
||||
|
||||
use Throwable;
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Base\\": "application",
|
||||
"App\\": "src"
|
||||
}
|
||||
},
|
||||
|
||||
0
src/Main/Components/.gitkeep
Normal file
0
src/Main/Components/.gitkeep
Normal file
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace App\Main\Controllers;
|
||||
use App\Common\Controllers\AbstractPageController;
|
||||
use Base\Controllers\AbstractPageController;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user