UserCompanyService
extends Injectable
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- UserCompanyService constructor.
- updateUserCompanyNameByUserId() : bool
Properties
$clientRepository
private
ClientRepository
$clientRepository
Methods
__construct()
UserCompanyService constructor.
public
__construct(ClientRepository $clientRepository) : mixed
Parameters
- $clientRepository : ClientRepository
updateUserCompanyNameByUserId()
public
updateUserCompanyNameByUserId(int $userId, string $companyName) : bool
Parameters
- $userId : int
- $companyName : string