Component\HttpKernel\CacheWarmer

Classes CacheWarmer Abstract cache warmer that knows how to write a file to the cache. CacheWarmerAggregate Aggregates several cache warmers into a single one. Interfaces CacheWarmerInterface Interface for classes able to warm up the cache. WarmableInterface Interface for classes that support warming their cache.

MemberMetadata::isPublic()

bool isPublic(object|string $objectOrClassName) Returns whether this member is public. Parameters object|string $objectOrClassName The object or the class name Return Value bool

MutableAclProvider::createAcl()

MutableAclInterface createAcl(ObjectIdentityInterface $oid) Creates a new ACL for the given object identity. Parameters ObjectIdentityInterface $oid Return Value MutableAclInterface Exceptions AclAlreadyExistsException when there already is an ACL for the given object identity

CustomUserMessageAuthenticationException

class CustomUserMessageAuthenticationException extends AuthenticationException An authentication exception where you can control the message shown to the user. Be sure that the message passed to this exception is something that can be shown safely to your user. In other words, avoid catching other exceptions and passing their message directly to this class. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. fr

BaseDateTimeTransformer

class BaseDateTimeTransformer implements DataTransformerInterface Methods __construct(string $inputTimezone = null, string $outputTimezone = null) Constructor. Details __construct(string $inputTimezone = null, string $outputTimezone = null) Constructor. Parameters string $inputTimezone The name of the input timezone string $outputTimezone The name of the output timezone Exceptions UnexpectedTypeException if a timezone is not a string InvalidAr

UnexpectedTypeException

class UnexpectedTypeException extends InvalidArgumentException Thrown when a method argument had an unexpected type. Methods __construct($value, $expectedType) Details __construct($value, $expectedType) Parameters $value $expectedType

AutowireServiceResource

class AutowireServiceResource implements SelfCheckingResourceInterface, Serializable Methods __construct($class, $path, array $autowiringMetadata) bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. string __toString() Returns a string representation of the Resource. serialize() unserialize($serialized) getResource() deprecated Details __construct($class, $path, array $autowi

ArrayToPartsTransformer

class ArrayToPartsTransformer implements DataTransformerInterface Methods __construct(array $partMapping) mixed transform($array) Transforms a value from the original representation to a transformed representation. mixed reverseTransform($array) Transforms a value from the transformed representation to its original representation. Details __construct(array $partMapping) Parameters array $partMapping mixed

HttpUtils::createRequest()

Request createRequest(Request $request, string $path) Creates a Request. Parameters Request $request The current Request instance string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) Return Value Request A Request instance

LateDataCollectorInterface

interface LateDataCollectorInterface LateDataCollectorInterface. Methods lateCollect() Collects data as late as possible. Details lateCollect() Collects data as late as possible.