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);
    }