ResponseHeaderBag::getCacheControlDirective()

mixed|null getCacheControlDirective(string $key) Returns a Cache-Control directive value by name. Parameters string $key The directive name Return Value mixed|null The directive value if defined, null otherwise

RequestMatcher::matchPath()

matchPath(string $regexp) Adds a check for the URL path info. Parameters string $regexp A Regexp

MessageDataCollector deprecated::getMessageCount()

getMessageCount()

DateTimeToTimestampTransformer::reverseTransform()

mixed reverseTransform(mixed $value) Transforms a timestamp in the configured timezone into a DateTime object. Parameters mixed $value The value in the transformed representation Return Value mixed The value in the original representation Exceptions TransformationFailedException If the given value is not a timestamp or if the given timestamp is invalid

DateTimeToTimestampTransformer::transform()

mixed transform(DateTimeInterface $dateTime) Transforms a DateTime object into a timestamp in the configured timezone. Parameters DateTimeInterface $dateTime A DateTimeInterface object Return Value mixed The value in the transformed representation Exceptions TransformationFailedException If the given value is not a \DateTimeInterface

Route::setSchemes()

Route setSchemes(string|array $schemes) Sets the schemes (e.g. 'https') this route is restricted to. So an empty array means that any scheme is allowed. This method implements a fluent interface. Parameters string|array $schemes The scheme or an array of schemes Return Value Route The current Route instance

ContainerBuilder::getAlias()

Alias getAlias(string $id) Gets an alias. Parameters string $id The service identifier Return Value Alias An Alias instance Exceptions InvalidArgumentException if the alias does not exist

Component\Finder\Adapter

Classes AbstractAdapter Interface for finder engine implementations. AbstractFindAdapter Shell engine implementation using GNU find command. BsdFindAdapter Shell engine implementation using BSD find command. GnuFindAdapter Shell engine implementation using GNU find command. PhpAdapter PHP finder engine implementation. Interfaces AdapterInterface

GenericMetadata::hasConstraints()

bool hasConstraints() Returns whether this element has any constraints. Return Value bool

FileLocatorInterface

interface FileLocatorInterface Methods string|array locate(string $name, string|null $currentPath = null, bool $first = true) Returns a full path for a given file name. Details string|array locate(string $name, string|null $currentPath = null, bool $first = true) Returns a full path for a given file name. Parameters string $name The file name to locate string|null $currentPath The current path bool $first Whether to return the first occurrence