Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/serializer/Mapping/Factory/ClassMetadataFactory.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/vendor/symfony/serializer/Mapping/Factory/ClassMetadataFactory.php Mon Apr 23 09:33:26 2018 +0100 +++ b/vendor/symfony/serializer/Mapping/Factory/ClassMetadataFactory.php Mon Apr 23 09:46:53 2018 +0100 @@ -25,32 +25,17 @@ { 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); } }