rhertogh /
yii2-oauth2-server
| 1 | <?php |
||
| 2 | |||
| 3 | namespace rhertogh\Yii2Oauth2Server\interfaces\components\repositories\base; |
||
| 4 | |||
| 5 | use rhertogh\Yii2Oauth2Server\interfaces\models\base\Oauth2ActiveRecordInterface; |
||
| 6 | use rhertogh\Yii2Oauth2Server\Oauth2Module; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Represents the base for all repositories in the Oauth2 module. |
||
| 10 | */ |
||
| 11 | interface Oauth2RepositoryInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Set the module for this response. |
||
| 15 | * @param Oauth2Module $module |
||
| 16 | * @return $this |
||
| 17 | * @since 1.0.0 |
||
| 18 | */ |
||
| 19 | public function setModule($module); |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get the class name of the models for this repository. |
||
| 23 | * @return class-string<Oauth2ActiveRecordInterface> |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 24 | * @since 1.0.0 |
||
| 25 | */ |
||
| 26 | public function getModelClass(); |
||
| 27 | } |
||
| 28 |