@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | public function getById(int $id): \BristolSU\ControlDB\Contracts\Models\DataGroup |
34 | 34 | { |
35 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
35 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
36 | 36 | return $this->dataGroupRepository->getById($id); |
37 | 37 | }); |
38 | 38 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public function getTagByFullReference(string $reference): \BristolSU\ControlDB\Contracts\Models\Tags\RoleTag |
46 | 46 | { |
47 | - return $this->cache->rememberForever(static::class . '@getTagByFullReference:' . $reference, function() use ($reference) { |
|
47 | + return $this->cache->rememberForever(static::class.'@getTagByFullReference:'.$reference, function() use ($reference) { |
|
48 | 48 | return $this->roleTagRepository->getTagByFullReference($reference); |
49 | 49 | }); |
50 | 50 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function getById(int $id): \BristolSU\ControlDB\Contracts\Models\Tags\RoleTag |
59 | 59 | { |
60 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
60 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
61 | 61 | return $this->roleTagRepository->getById($id); |
62 | 62 | }); |
63 | 63 | } |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | public function allThroughTagCategory(\BristolSU\ControlDB\Contracts\Models\Tags\RoleTagCategory $roleTagCategory): Collection |
96 | 96 | { |
97 | - return $this->cache->rememberForever(static::class . '@allThroughTagCategory:' . $roleTagCategory->id(), function() use ($roleTagCategory) { |
|
97 | + return $this->cache->rememberForever(static::class.'@allThroughTagCategory:'.$roleTagCategory->id(), function() use ($roleTagCategory) { |
|
98 | 98 | return $this->roleTagRepository->allThroughTagCategory($roleTagCategory); |
99 | 99 | }); |
100 | 100 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public function getTagByFullReference(string $reference): \BristolSU\ControlDB\Contracts\Models\Tags\GroupTag |
46 | 46 | { |
47 | - return $this->cache->rememberForever(static::class . '@getTagByFullReference:' . $reference, function() use ($reference) { |
|
47 | + return $this->cache->rememberForever(static::class.'@getTagByFullReference:'.$reference, function() use ($reference) { |
|
48 | 48 | return $this->groupTagRepository->getTagByFullReference($reference); |
49 | 49 | }); |
50 | 50 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function getById(int $id): \BristolSU\ControlDB\Contracts\Models\Tags\GroupTag |
59 | 59 | { |
60 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
60 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
61 | 61 | return $this->groupTagRepository->getById($id); |
62 | 62 | }); |
63 | 63 | } |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | public function allThroughTagCategory(\BristolSU\ControlDB\Contracts\Models\Tags\GroupTagCategory $groupTagCategory): Collection |
96 | 96 | { |
97 | - return $this->cache->rememberForever(static::class . '@allThroughTagCategory:' . $groupTagCategory->id(), function() use ($groupTagCategory) { |
|
97 | + return $this->cache->rememberForever(static::class.'@allThroughTagCategory:'.$groupTagCategory->id(), function() use ($groupTagCategory) { |
|
98 | 98 | return $this->groupTagRepository->allThroughTagCategory($groupTagCategory); |
99 | 99 | }); |
100 | 100 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public function getTagByFullReference(string $reference): \BristolSU\ControlDB\Contracts\Models\Tags\PositionTag |
46 | 46 | { |
47 | - return $this->cache->rememberForever(static::class . '@getTagByFullReference:' . $reference, function() use ($reference) { |
|
47 | + return $this->cache->rememberForever(static::class.'@getTagByFullReference:'.$reference, function() use ($reference) { |
|
48 | 48 | return $this->positionTagRepository->getTagByFullReference($reference); |
49 | 49 | }); |
50 | 50 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function getById(int $id): \BristolSU\ControlDB\Contracts\Models\Tags\PositionTag |
59 | 59 | { |
60 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
60 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
61 | 61 | return $this->positionTagRepository->getById($id); |
62 | 62 | }); |
63 | 63 | } |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | public function allThroughTagCategory(\BristolSU\ControlDB\Contracts\Models\Tags\PositionTagCategory $positionTagCategory): Collection |
96 | 96 | { |
97 | - return $this->cache->rememberForever(static::class . '@allThroughTagCategory:' . $positionTagCategory->id(), function() use ($positionTagCategory) { |
|
97 | + return $this->cache->rememberForever(static::class.'@allThroughTagCategory:'.$positionTagCategory->id(), function() use ($positionTagCategory) { |
|
98 | 98 | return $this->positionTagRepository->allThroughTagCategory($positionTagCategory); |
99 | 99 | }); |
100 | 100 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function getByReference(string $reference): GroupTagCategoryModel |
45 | 45 | { |
46 | - return $this->cache->rememberForever(static::class . '@getByReference:' . $reference, function() use ($reference) { |
|
46 | + return $this->cache->rememberForever(static::class.'@getByReference:'.$reference, function() use ($reference) { |
|
47 | 47 | return $this->groupTagCategoryRepository->getByReference($reference); |
48 | 48 | }); |
49 | 49 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function getById(int $id): GroupTagCategoryModel |
58 | 58 | { |
59 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
59 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
60 | 60 | return $this->groupTagCategoryRepository->getById($id); |
61 | 61 | }); |
62 | 62 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function getByReference(string $reference): PositionTagCategoryModel |
45 | 45 | { |
46 | - return $this->cache->rememberForever(static::class . '@getByReference:' . $reference, function() use ($reference) { |
|
46 | + return $this->cache->rememberForever(static::class.'@getByReference:'.$reference, function() use ($reference) { |
|
47 | 47 | return $this->positionTagCategoryRepository->getByReference($reference); |
48 | 48 | }); |
49 | 49 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function getById(int $id): PositionTagCategoryModel |
58 | 58 | { |
59 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
59 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
60 | 60 | return $this->positionTagCategoryRepository->getById($id); |
61 | 61 | }); |
62 | 62 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public function getTagByFullReference(string $reference): \BristolSU\ControlDB\Contracts\Models\Tags\UserTag |
46 | 46 | { |
47 | - return $this->cache->rememberForever(static::class . '@getTagByFullReference:' . $reference, function() use ($reference) { |
|
47 | + return $this->cache->rememberForever(static::class.'@getTagByFullReference:'.$reference, function() use ($reference) { |
|
48 | 48 | return $this->userTagRepository->getTagByFullReference($reference); |
49 | 49 | }); |
50 | 50 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function getById(int $id): \BristolSU\ControlDB\Contracts\Models\Tags\UserTag |
59 | 59 | { |
60 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
60 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
61 | 61 | return $this->userTagRepository->getById($id); |
62 | 62 | }); |
63 | 63 | } |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | public function allThroughTagCategory(\BristolSU\ControlDB\Contracts\Models\Tags\UserTagCategory $userTagCategory): Collection |
96 | 96 | { |
97 | - return $this->cache->rememberForever(static::class . '@allThroughTagCategory:' . $userTagCategory->id(), function() use ($userTagCategory) { |
|
97 | + return $this->cache->rememberForever(static::class.'@allThroughTagCategory:'.$userTagCategory->id(), function() use ($userTagCategory) { |
|
98 | 98 | return $this->userTagRepository->allThroughTagCategory($userTagCategory); |
99 | 99 | }); |
100 | 100 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function getByReference(string $reference): UserTagCategoryModel |
45 | 45 | { |
46 | - return $this->cache->rememberForever(static::class . '@getByReference:' . $reference, function() use ($reference) { |
|
46 | + return $this->cache->rememberForever(static::class.'@getByReference:'.$reference, function() use ($reference) { |
|
47 | 47 | return $this->userTagCategoryRepository->getByReference($reference); |
48 | 48 | }); |
49 | 49 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function getById(int $id): UserTagCategoryModel |
58 | 58 | { |
59 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
59 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
60 | 60 | return $this->userTagCategoryRepository->getById($id); |
61 | 61 | }); |
62 | 62 | } |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function getByReference(string $reference): RoleTagCategoryModel |
45 | 45 | { |
46 | - return $this->cache->rememberForever(static::class . '@getByReference:' . $reference, function() use ($reference) { |
|
46 | + return $this->cache->rememberForever(static::class.'@getByReference:'.$reference, function() use ($reference) { |
|
47 | 47 | return $this->roleTagCategoryRepository->getByReference($reference); |
48 | 48 | }); |
49 | 49 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function getById(int $id): RoleTagCategoryModel |
58 | 58 | { |
59 | - return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) { |
|
59 | + return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) { |
|
60 | 60 | return $this->roleTagCategoryRepository->getById($id); |
61 | 61 | }); |
62 | 62 | } |