PdoProfilerStorage deprecated::read()

Profile read(string $token) Reads data associated with the given token. The method returns false if the token does not exist in the storage. Parameters string $token A token Return Value Profile The profile associated with token

PdoProfilerStorage deprecated::purge()

purge() Purges all data from the database.

PdoProfilerStorage deprecated::find()

array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. Parameters string $ip The IP string $url The URL string $limit The maximum number of tokens to return string $method The request method int|null $start The start date to search from int|null $end The end date to search to Return Value array An array of tokens

PdoProfilerStorage deprecated

class PdoProfilerStorage implements ProfilerStorageInterface deprecated Deprecated since Symfony 2.8, to be removed in Symfony 3.0. Use {@link FileProfilerStorage} instead. Base PDO storage for profiling information in a PDO database. Methods __construct(string $dsn, string $username = '', string $password = '', int $lifetime = 86400) Constructor. array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler token

PdoCaster::castPdoStatement()

static castPdoStatement(PDOStatement $c, array $a, Stub $stub, $isNested) Parameters PDOStatement $c array $a Stub $stub $isNested

PdoCaster::castPdo()

static castPdo(PDO $c, array $a, Stub $stub, $isNested) Parameters PDO $c array $a Stub $stub $isNested

PdoCaster

class PdoCaster Casts PDO related classes to array representation. Methods static castPdo(PDO $c, array $a, Stub $stub, $isNested) static castPdoStatement(PDOStatement $c, array $a, Stub $stub, $isNested) Details static castPdo(PDO $c, array $a, Stub $stub, $isNested) Parameters PDO $c array $a Stub $stub $isNested static castPdoStatement(PDOStatement $c, array $a, Stub $stub, $isNested) Par

Pbkdf2PasswordEncoder::isPasswordValid()

bool isPasswordValid(string $encoded, string $raw, string $salt) Checks a raw password against an encoded password. Parameters string $encoded An encoded password string $raw A raw password string $salt The salt Return Value bool true if the password is valid, false otherwise

Pbkdf2PasswordEncoder::encodePassword()

string encodePassword(string $raw, string $salt) Encodes the raw password. Parameters string $raw The password to encode string $salt The salt Return Value string The encoded password

Pbkdf2PasswordEncoder

class Pbkdf2PasswordEncoder extends BasePasswordEncoder Pbkdf2PasswordEncoder uses the PBKDF2 (Password-Based Key Derivation Function 2). Providing a high level of Cryptographic security, PBKDF2 is recommended by the National Institute of Standards and Technology (NIST). But also warrants a warning, using PBKDF2 (with a high number of iterations) slows down the process. PBKDF2 should be used with caution and care. Constants MAX_PASSWORD_LENGTH Methods __construct(string $algorithm