Logger::getLogs()

array getLogs() Returns an array of logs. A log is an array with the following mandatory keys: timestamp, message, priority, and priorityName. It can also have an optional context key containing an array. Return Value array An array of logs

Logger::countErrors()

int countErrors() Returns the number of errors. Return Value int The number of errors

Logger

class Logger extends Logger implements DebugLoggerInterface Logger. Methods array getLogs() Returns an array of logs. int countErrors() Returns the number of errors. Details array getLogs() Returns an array of logs. A log is an array with the following mandatory keys: timestamp, message, priority, and priorityName. It can also have an optional context key containing an array. Return Value array An array of logs

LockHandler::release()

release() Release the resource.

LockHandler::lock()

bool lock(bool $blocking = false) Lock the resource. Parameters bool $blocking wait until the lock is released Return Value bool Returns true if the lock was acquired, false otherwise Exceptions IOException If the lock file could not be created or opened

LockHandler

class LockHandler LockHandler class provides a simple abstraction to lock anything by means of a file lock. A locked file is created based on the lock name when calling lock(). Other lock handlers will not be able to lock the same name until it is released (explicitly by calling release() or implicitly when the instance holding the lock is destroyed). Methods __construct(string $name, string|null $lockPath = null) bool lock(bool $blocking = false) Lock the resource. release()

LockedException

class LockedException extends AccountStatusException LockedException is thrown if the user account is locked. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AccountStatusException unserialize($str) from AccountStatusException string getMessageKey() Message key to be used by the translation component. array getMessageData() Message data to be u

LocaleValidator

class LocaleValidator extends ConstraintValidator Validates whether a value is a valid locale code. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is va

LocaleType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

LocaleType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name