@@ -21,7 +21,7 @@ |
||
| 21 | 21 | }); |
| 22 | 22 | |
| 23 | 23 | $this->bus->addHandler('ProyectoTAU\TAU\Module\Administration\User\Application\update\UpdateUserCommand', |
| 24 | - 'ProyectoTAU\TAU\Module\Administration\User\Application\update\UpdateUserCommandHandler'); |
|
| 24 | + 'ProyectoTAU\TAU\Module\Administration\User\Application\update\UpdateUserCommandHandler'); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function update($id, $name, $surname, $login) |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | { |
| 13 | 13 | private $bus; |
| 14 | 14 | |
| 15 | - public function __construct(UserRepository $user){ |
|
| 15 | + public function __construct(UserRepository $user) { |
|
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\User\Domain\UserRepository', |
| 19 | - function () use ($user){ |
|
| 19 | + function() use ($user){ |
|
| 20 | 20 | return $user; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | }); |
| 22 | 22 | |
| 23 | 23 | $this->bus->addHandler('ProyectoTAU\TAU\Module\Administration\User\Application\create\CreateUserCommand', |
| 24 | - 'ProyectoTAU\TAU\Module\Administration\User\Application\create\CreateUserCommandHandler'); |
|
| 24 | + 'ProyectoTAU\TAU\Module\Administration\User\Application\create\CreateUserCommandHandler'); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function create($id, $name, $surname, $login) |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | { |
| 13 | 13 | private $bus; |
| 14 | 14 | |
| 15 | - public function __construct(UserRepository $user){ |
|
| 15 | + public function __construct(UserRepository $user) { |
|
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\User\Domain\UserRepository', |
| 19 | - function () use ($user){ |
|
| 19 | + function() use ($user){ |
|
| 20 | 20 | return $user; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | }); |
| 22 | 22 | |
| 23 | 23 | $this->bus->addHandler('ProyectoTAU\TAU\Module\Administration\User\Application\getGroupsFromUser\GetGroupsFromUserCommand', |
| 24 | - 'ProyectoTAU\TAU\Module\Administration\User\Application\getGroupsFromUser\GetGroupsFromUserCommandHandler'); |
|
| 24 | + 'ProyectoTAU\TAU\Module\Administration\User\Application\getGroupsFromUser\GetGroupsFromUserCommandHandler'); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function getGroupsFromUser($userId): array { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\User\Domain\UserRepository', |
| 19 | - function () use ($user){ |
|
| 19 | + function() use ($user){ |
|
| 20 | 20 | return $user; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | }); |
| 22 | 22 | |
| 23 | 23 | $this->bus->addHandler('ProyectoTAU\TAU\Module\Administration\User\Application\read\ReadUserCommand', |
| 24 | - 'ProyectoTAU\TAU\Module\Administration\User\Application\read\ReadUserCommandHandler'); |
|
| 24 | + 'ProyectoTAU\TAU\Module\Administration\User\Application\read\ReadUserCommandHandler'); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function read($id): User |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | { |
| 13 | 13 | private $bus; |
| 14 | 14 | |
| 15 | - public function __construct(UserRepository $user){ |
|
| 15 | + public function __construct(UserRepository $user) { |
|
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\User\Domain\UserRepository', |
| 19 | - function () use ($user){ |
|
| 19 | + function() use ($user){ |
|
| 20 | 20 | return $user; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | }); |
| 28 | 28 | |
| 29 | 29 | $this->bus->addHandler('ProyectoTAU\TAU\Module\Administration\User\Application\addGroupToUser\AddGroupToUserCommand', |
| 30 | - 'ProyectoTAU\TAU\Module\Administration\User\Application\addGroupToUser\AddGroupToUserCommandHandler'); |
|
| 30 | + 'ProyectoTAU\TAU\Module\Administration\User\Application\addGroupToUser\AddGroupToUserCommandHandler'); |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | public function addGroupToUser($groupId, $userId) |
@@ -17,12 +17,12 @@ |
||
| 17 | 17 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 18 | 18 | |
| 19 | 19 | app()->bind('ProyectoTAU\TAU\Module\Administration\Group\Domain\GroupRepository', |
| 20 | - function () use ($group){ |
|
| 20 | + function() use ($group){ |
|
| 21 | 21 | return $group; |
| 22 | 22 | }); |
| 23 | 23 | |
| 24 | 24 | app()->bind('ProyectoTAU\TAU\Module\Administration\User\Domain\UserRepository', |
| 25 | - function () use ($user){ |
|
| 25 | + function() use ($user){ |
|
| 26 | 26 | return $user; |
| 27 | 27 | }); |
| 28 | 28 | |