PHP 8.2.30
Preview: EncoderFactoryInterface.php Size: 881 B
/opt/cloudlinux/alt-php54/root/usr/share/pear/Symfony/Component/Security/Core/Encoder/EncoderFactoryInterface.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Security\Core\Encoder;

use Symfony\Component\Security\Core\User\UserInterface;

/**
 * EncoderFactoryInterface to support different encoders for different accounts.
 *
 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 */
interface EncoderFactoryInterface
{
    /**
     * Returns the password encoder to use for the given account.
     *
     * @param UserInterface|string $user A UserInterface instance or a class name
     *
     * @return PasswordEncoderInterface
     *
     * @throws \RuntimeException when no password encoder could be found for the user
     */
    public function getEncoder($user);
}

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
2.73 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
2.47 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
1.93 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
881 B lrw-r--r-- 2019-12-18 11:22:57
Edit Download
2.13 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
1.02 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
3.37 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download
1.51 KB lrw-r--r-- 2019-12-18 11:22:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).