{
use ClassResolverTrait;
- /**
- * @var LoaderInterface
- */
private $loader;
-
- /**
- * @var Cache
- */
private $cache;
-
- /**
- * @var array
- */
private $loadedClasses;
- /**
- * @param LoaderInterface $loader
- * @param Cache|null $cache
- */
public function __construct(LoaderInterface $loader, Cache $cache = null)
{
$this->loader = $loader;
$this->cache = $cache;
if (null !== $cache) {
- @trigger_error(sprintf('Passing a Doctrine Cache instance as 2nd parameter of the "%s" constructor is deprecated since version 3.1. This parameter will be removed in Symfony 4.0. Use the "%s" class instead.', __CLASS__, CacheClassMetadataFactory::class), E_USER_DEPRECATED);
+ @trigger_error(sprintf('Passing a Doctrine Cache instance as 2nd parameter of the "%s" constructor is deprecated since Symfony 3.1. This parameter will be removed in Symfony 4.0. Use the "%s" class instead.', __CLASS__, CacheClassMetadataFactory::class), E_USER_DEPRECATED);
}
}