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,

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.

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

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

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

EnvironmentConfigurator

class EnvironmentConfigurator Twig environment configurator. Methods __construct($dateFormat, $intervalFormat, $timezone, $decimals, $decimalPoint, $thousandsSeparator) configure(Twig_Environment $environment) Details __construct($dateFormat, $intervalFormat, $timezone, $decimals, $decimalPoint, $thousandsSeparator) Parameters $dateFormat $intervalFormat $timezone $decimals $decimalPoint $thousandsSeparator

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::serialize()

serialize()

EnumStub

class EnumStub extends Stub Represents an enumeration of values. Constants TYPE_REF TYPE_STRING TYPE_ARRAY TYPE_OBJECT TYPE_RESOURCE STRING_BINARY STRING_UTF8 ARRAY_ASSOC ARRAY_INDEXED Properties $type from Stub $class from Stub $value from Stub $cut from Stub $handle from Stub $refCount from Stub $position from Stub Methods __construct(array $values) Details __construct(array $values)

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