* [ADD] Code refactoring in order to implement DDD. Work in progress.

This commit is contained in:
nuxsmin
2018-01-16 00:07:10 +01:00
parent a3d0cb3dcb
commit 17d2b08809
61 changed files with 3838 additions and 4037 deletions

View File

@@ -38,7 +38,7 @@ use SP\Modules\Web\Controllers\Helpers\ItemsGridHelper;
use SP\Modules\Web\Controllers\Traits\ItemTrait;
use SP\Modules\Web\Controllers\Traits\JsonTrait;
use SP\Mvc\Controller\CrudControllerInterface;
use SP\Services\UserProfile\UserProfileService;
use SP\Repositories\UserProfile\UserProfileRepository;
/**
* Class UserProfileController
@@ -51,7 +51,7 @@ class UserProfileController extends ControllerBase implements CrudControllerInte
use ItemTrait;
/**
* @var UserProfileService
* @var UserProfileRepository
*/
protected $userProfileService;
@@ -285,6 +285,6 @@ class UserProfileController extends ControllerBase implements CrudControllerInte
{
$this->checkLoggedIn();
$this->userProfileService = new UserProfileService();
$this->userProfileService = new UserProfileRepository();
}
}