@@ -59,6 +59,9 @@ |
||
59 | 59 | return $this->entityClass; |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @return string |
|
64 | + */ |
|
62 | 65 | public function getRecordClass() |
63 | 66 | { |
64 | 67 | return $this->getRepository()->getRecordClass(); |
@@ -8,6 +8,9 @@ |
||
8 | 8 | { |
9 | 9 | public $repository; |
10 | 10 | |
11 | + /** |
|
12 | + * @param BaseRepository $value |
|
13 | + */ |
|
11 | 14 | public function setRepository($value) |
12 | 15 | { |
13 | 16 | $this->repository = $value; |
@@ -10,8 +10,6 @@ |
||
10 | 10 | |
11 | 11 | namespace hiapi\repositories; |
12 | 12 | |
13 | -use Yii; |
|
14 | - |
|
15 | 13 | abstract class BaseRepository extends \yii\base\Component |
16 | 14 | { |
17 | 15 | public $table; |