var/cache/dev/ContainerRXdXI6z/getPimcore_Security_EncoderFactoryService.php line 20

Open in your IDE?
  1. <?php
  2. namespace ContainerRXdXI6z;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getPimcore_Security_EncoderFactoryService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'pimcore.security.encoder_factory' shared autowired service.
  12.      *
  13.      * @return \Pimcore\Security\Encoder\EncoderFactory
  14.      *
  15.      * @deprecated Since pimcore/pimcore 10.1: The "pimcore.security.encoder_factory" service is deprecated, use "pimcore.security.user_password_hasher" instead.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('pimcore/pimcore''10.1''The "pimcore.security.encoder_factory" service is deprecated, use "pimcore.security.user_password_hasher" instead.');
  20.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Encoder/EncoderFactoryInterface.php';
  21.         include_once \dirname(__DIR__4).'/vendor/pimcore/pimcore/lib/Security/Encoder/Factory/AbstractEncoderFactory.php';
  22.         include_once \dirname(__DIR__4).'/vendor/pimcore/pimcore/lib/Security/Encoder/Factory/UserAwareEncoderFactory.php';
  23.         return $container->privates['pimcore.security.encoder_factory'] = new \Pimcore\Security\Encoder\EncoderFactory($container->load('getSecurity_EncoderFactory_GenericService'), ['Pimcore\\Bundle\\AdminBundle\\Security\\User\\User' => new \Pimcore\Security\Encoder\Factory\UserAwareEncoderFactory('Pimcore\\Bundle\\AdminBundle\\Security\\Encoder\\AdminPasswordEncoder'), 'Pimcore\\Model\\DataObject\\Customer' => new \Pimcore\Security\Encoder\Factory\UserAwareEncoderFactory('Pimcore\\Security\\Encoder\\PasswordFieldEncoder', [=> 'password'])]);
  24.     }
  25. }