FOS\UserBundle\Security\Encoder\EncoderFactory::createEncoder PHP Метод

createEncoder() защищенный Метод

Creates an encoder for the given algorithm.
protected createEncoder ( string $algorithm ) : PasswordEncoderInterface
$algorithm string
Результат PasswordEncoderInterface
    protected function createEncoder($algorithm)
    {
        $class = $this->encoderClass;
        return new $class($algorithm, $this->encodeHashAsBase64, $this->iterations);
    }