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.
1 parent a14a90b commit 54c28afCopy full SHA for 54c28af
1 file changed
src/Factory/AbstractAnnotatedFactory.php
@@ -5,17 +5,17 @@
5
namespace Dot\AnnotatedServices\Factory;
6
7
use Doctrine\Common\Annotations\AnnotationReader;
8
-use Doctrine\Common\Annotations\AnnotationRegistry;
9
use Doctrine\Common\Annotations\PsrCachedReader;
10
use Doctrine\Common\Annotations\Reader;
11
use Doctrine\Common\Cache\Cache;
+use Psr\Cache\CacheItemPoolInterface;
12
use Psr\Container\ContainerExceptionInterface;
13
use Psr\Container\ContainerInterface;
14
use Psr\Container\NotFoundExceptionInterface;
15
16
abstract class AbstractAnnotatedFactory
17
{
18
- public const CACHE_SERVICE = 'Psr\Cache\CacheItemPoolInterface';
+ const CACHE_SERVICE = CacheItemPoolInterface::class;
19
protected ?Reader $annotationReader = null;
20
public function setAnnotationReader(Reader $annotationReader): void
21
0 commit comments