Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/class-loader/XcacheClassLoader.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 | 129ea1e6d783 |
line wrap: on
line diff
--- a/vendor/symfony/class-loader/XcacheClassLoader.php Mon Apr 23 09:33:26 2018 +0100 +++ b/vendor/symfony/class-loader/XcacheClassLoader.php Mon Apr 23 09:46:53 2018 +0100 @@ -11,6 +11,8 @@ namespace Symfony\Component\ClassLoader; +@trigger_error('The '.__NAMESPACE__.'\XcacheClassLoader class is deprecated since Symfony 3.3 and will be removed in 4.0. Use `composer install --apcu-autoloader` instead.', E_USER_DEPRECATED); + /** * XcacheClassLoader implements a wrapping autoloader cached in XCache for PHP 5.3. * @@ -43,21 +45,15 @@ * @author Fabien Potencier <fabien@symfony.com> * @author Kris Wallsmith <kris@symfony.com> * @author Kim Hemsø Rasmussen <kimhemsoe@gmail.com> + * + * @deprecated since version 3.3, to be removed in 4.0. Use `composer install --apcu-autoloader` instead. */ class XcacheClassLoader { private $prefix; - - /** - * A class loader object that implements the findFile() method. - * - * @var object - */ private $decorated; /** - * Constructor. - * * @param string $prefix The XCache namespace prefix to use * @param object $decorated A class loader object that implements the findFile() method *