ClassMetadata::merge()

merge(ClassMetadataInterface $classMetadata) Merges a {@link ClassMetadataInterface} in the current one. Parameters ClassMetadataInterface $classMetadata

HeaderBag::removeCacheControlDirective()

removeCacheControlDirective(string $key) Removes a Cache-Control directive. Parameters string $key The Cache-Control directive

OptionsResolverInterface deprecated::setDefaults()

OptionsResolverInterface setDefaults(array $defaultValues) Sets default option values. The options can either be values of any types or closures that evaluate the option value lazily. These closures must have one of the following signatures: function (Options $options) function (Options $options, $value) The second parameter passed to the closure is the previously set default value, in case you are overwriting an existing default value. The closures should return the lazily cr

CamelCaseToSnakeCaseNameConverter

class CamelCaseToSnakeCaseNameConverter implements NameConverterInterface CamelCase to Underscore name converter. Methods __construct(array $attributes = null, bool $lowerCamelCase = true) string normalize(string $propertyName) Converts a property name to its normalized value. string denormalize(string $propertyName) Converts a property name to its denormalized value. Details __construct(array $attributes = null, bool $lowerCamelCase = true)

AttributeMetadata::merge()

merge(AttributeMetadataInterface $attributeMetadata) Merges an {see AttributeMetadataInterface} with in the current one. Parameters AttributeMetadataInterface $attributeMetadata

TraceableEventDispatcher::addListener()

addListener(string $eventName, callable $listener, int $priority) Adds an event listener that listens on the specified events. Parameters string $eventName The event to listen on callable $listener The listener int $priority The higher this value, the earlier an event listener will be triggered in the chain (defaults to 0)

AttributeMetadataInterface::setMaxDepth()

setMaxDepth(int|null $maxDepth) Sets the serialization max depth for this attribute. Parameters int|null $maxDepth

LoggingFormatter::format()

format(CompilerPassInterface $pass, $message) Parameters CompilerPassInterface $pass $message

ContainerBuilder::resolveServices()

mixed resolveServices(mixed $value) Replaces service references by the real service instance and evaluates expressions. Parameters mixed $value A value Return Value mixed The same value with all service references replaced by the real service instances and all expressions evaluated

Component\Security\Http\Util

Classes TargetPathTrait Trait to get (and set) the URL the user last visited before being forced to authenticate.