c117367974
I still struggle to find out how to deal with arguments like $userNameOrEmail. Should I trim() them in controllers, or in service? If I do it in service, shouldn't all of such validation belong in there? |
||
---|---|---|
.. | ||
AuthServiceTest.php | ||
FileServiceTest.php | ||
PasswordServiceTest.php | ||
PrivilegeServiceTest.php | ||
ThumbnailServiceTest.php | ||
UserServiceTest.php |