| 1 | <?php |
||
| 12 | class ClientService |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var ClientRepository |
||
| 16 | */ |
||
| 17 | private $clientRepository; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * ClientService constructor. |
||
| 21 | * @param ClientRepository $clientRepository |
||
| 22 | */ |
||
| 23 | public function __construct(ClientRepository $clientRepository) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return ClientRepository |
||
| 30 | */ |
||
| 31 | public function getClientRepository(): ClientRepository |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param Client $client |
||
| 38 | * @return Client |
||
| 39 | */ |
||
| 40 | public function generateSecret(Client $client) |
||
| 49 | } |