We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55836c8 + c832b53 commit 11c2f80Copy full SHA for 11c2f80
src/DataLoader.php
@@ -270,15 +270,24 @@ private static function awaitInstances()
270
}
271
272
273
- private function getCacheKeyFromKey($key)
+ /**
274
+ * @param $key
275
+ *
276
+ * @return mixed
277
+ */
278
+ protected function getCacheKeyFromKey($key)
279
{
280
$cacheKeyFn = $this->options->getCacheKeyFn();
281
$cacheKey = $cacheKeyFn ? $cacheKeyFn($key) : $key;
282
283
return $cacheKey;
284
285
- private function checkKey($key, $method)
286
287
288
+ * @param $method
289
290
+ protected function checkKey($key, $method)
291
292
if (null === $key) {
293
throw new \InvalidArgumentException(
0 commit comments