Documentation

PasswordHasherConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$algorithm  : mixed
$cost  : mixed
$encodeAsBase64  : mixed
$hashAlgorithm  : mixed
$id  : mixed
$ignoreCase  : mixed
$iterations  : mixed
$keyLength  : mixed
$memoryCost  : mixed
$migrateFrom  : mixed
$timeCost  : mixed

Methods

__construct()  : mixed
algorithm()  : $this
cost()  : $this
encodeAsBase64()  : $this
hashAlgorithm()  : $this
Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms.
id()  : $this
ignoreCase()  : $this
iterations()  : $this
keyLength()  : $this
memoryCost()  : $this
migrateFrom()  : $this
timeCost()  : $this
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

hashAlgorithm()

Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms.

public hashAlgorithm(ParamConfigurator|mixed $value) : $this
Parameters
$value : ParamConfigurator|mixed
Tags
default

'sha512'

Return values
$this

migrateFrom()

public migrateFrom(mixed $value) : $this
Parameters
$value : mixed
Return values
$this

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results