ConstraintViolationBuilderInterface::setCode()

ConstraintViolationBuilderInterface setCode(string|null $code) Sets the violation code. Parameters string|null $code The violation code Return Value ConstraintViolationBuilderInterface This builder

ValidatorInterface::validate()

ConstraintViolationListInterface validate(mixed $value, Constraint|Constraint[] $constraints = null, array|null $groups = null) Validates a value against a constraint or a list of constraints. If no constraint is passed, the constraint {@link \Symfony\Component\Validator\Constraints\Valid} is assumed. Parameters mixed $value The value to validate Constraint|Constraint[] $constraints The constraint(s) to validate against array|null $groups The validation groups to validate. If

BundleInterface::getNamespace()

string getNamespace() Gets the Bundle namespace. Return Value string The Bundle namespace

CookieJar::clear()

clear() Removes all the cookies from the jar.

CookieJar::allValues()

array allValues(string $uri, bool $returnsRawValue = false) Returns not yet expired cookie values for the given URI. Parameters string $uri A URI bool $returnsRawValue Returns raw value or urldecoded value Return Value array An array of cookie values

ClassNode::getSpecificity()

Specificity getSpecificity() Returns node's specificity. Return Value Specificity

BaseNode::getParent()

NodeInterface|null getParent() Returns parent node for this node. Return Value NodeInterface|null

FileProfilerStorage::purge()

purge() Purges all data from the database.

Caster::castObject()

static array castObject(object $obj, ReflectionClass $reflector) Casts objects to arrays and adds the dynamic property prefix. Parameters object $obj The object to cast ReflectionClass $reflector The class reflector to use for inspecting the object definition Return Value array The array-cast of the object, with prefixed dynamic properties

DOMCaster::castEntity()

static castEntity(DOMEntity $dom, array $a, Stub $stub, $isNested) Parameters DOMEntity $dom array $a Stub $stub $isNested