AttributeMetadataInterface::setMaxDepth()

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

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)

AttributeMetadata::merge()

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

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)

Route::addDefaults()

Route addDefaults(array $defaults) Adds defaults. This method implements a fluent interface. Parameters array $defaults The defaults Return Value Route The current Route instance

FormConfigBuilder::hasAttribute()

bool hasAttribute(string $name) Returns whether the attribute with the given name exists. Parameters string $name The attribute name Return Value bool Whether the attribute exists

Route::hasRequirement()

bool hasRequirement(string $key) Checks if a requirement is set for the given key. Parameters string $key A variable name Return Value bool true if a requirement is specified, false otherwise

Profile::getTime()

string getTime() Returns the time. Return Value string The time

HttpCache::getStore()

StoreInterface getStore() Gets the current store. Return Value StoreInterface $store A StoreInterface instance

TranslationDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance