1 | <?php declare(strict_types=1); |
||
29 | class ClientRepository extends \Limoncello\Passport\Repositories\ClientRepository |
||
30 | { |
||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private $modelClass; |
||
35 | |||
36 | /** |
||
37 | * @param Connection $connection |
||
38 | * @param DatabaseSchemaInterface $databaseSchema |
||
39 | * @param string $modelClass |
||
40 | */ |
||
41 | 37 | public function __construct( |
|
49 | |||
50 | /** |
||
51 | * @inheritdoc |
||
52 | * |
||
53 | * @throws RepositoryException |
||
54 | */ |
||
55 | 2 | public function index(): array |
|
65 | |||
66 | /** |
||
67 | * @inheritdoc |
||
68 | */ |
||
69 | 18 | public function read(string $identifier): ?ClientInterface |
|
80 | |||
81 | /** |
||
82 | * @inheritdoc |
||
83 | */ |
||
84 | 17 | protected function getClassName(): string |
|
88 | |||
89 | /** |
||
90 | * @param Client $client |
||
91 | * |
||
92 | * @return void |
||
93 | * |
||
94 | * @throws RepositoryException |
||
95 | */ |
||
96 | 15 | private function addScopeAndRedirectUris(Client $client): void |
|
101 | |||
102 | /** |
||
103 | * @inheritdoc |
||
104 | */ |
||
105 | 19 | protected function getTableNameForReading(): string |
|
109 | } |
||
110 |