ErrorHandler deprecated

class ErrorHandler extends ErrorHandler deprecated since version 2.3, to be removed in 3.0. Use the same class from the Debug component instead. ErrorHandler. Constants TYPE_DEPRECATION Methods static ErrorHandler register(ErrorHandler|null|int $handler = null, bool $replace = true) Registers the error handler. from ErrorHandler __construct(BufferingLogger $bootstrappingLogger = null) from ErrorHandler setDefaultLogger(LoggerInterface $logger, array|int $levels = null,

ErrorHandler

class ErrorHandler A generic ErrorHandler for the PHP engine. Provides five bit fields that control how errors are handled: - thrownErrors: errors thrown as \ErrorException - loggedErrors: logged errors, when not @-silenced - scopedErrors: errors thrown or logged with their local context - tracedErrors: errors logged with their stack trace, only once for repeated errors - screamedErrors: never @-silenced errors Each error level can be logged by a dedicated PSR-3 logger object. Screaming only

EquatableInterface

interface EquatableInterface EquatableInterface used to test if two objects are equal in security and re-authentication context. Methods bool isEqualTo(UserInterface $user) The equality comparison should neither be done by referential equality nor by comparing identities (i.e. getId() === getId()). Details bool isEqualTo(UserInterface $user) The equality comparison should neither be done by referential equality nor by comparing identities (i.e.

EqualToValidator

class EqualToValidator extends AbstractComparisonValidator Validates values are equal (==). 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 valid. fr

EqualTo

class EqualTo extends AbstractComparison Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_EQUAL_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message $value from

EnvParametersResource::unserialize()

unserialize($serialized) Parameters $serialized

EnvParametersResource::serialize()

serialize()

EnvParametersResource::isFresh()

bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. Parameters int $timestamp The last time the resource was loaded Return Value bool True if the resource has not been updated, false otherwise

EnvParametersResource::getResource()

array getResource() Return Value array An array with two keys: 'prefix' for the prefix used and 'variables' containing all the variables watched by this resource

EnvParametersResource

class EnvParametersResource implements SelfCheckingResourceInterface, Serializable EnvParametersResource represents resources stored in prefixed environment variables. Methods __construct(string $prefix) Constructor. string __toString() Returns a string representation of the Resource. array getResource() bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. serialize() unserialize($serialized) Details