StubCaster::castEnum()

static castEnum(EnumStub $c, array $a, Stub $stub, $isNested) Parameters EnumStub $c array $a Stub $stub $isNested

ResponseHeaderBag::hasCacheControlDirective()

bool hasCacheControlDirective(string $key) Returns true if the Cache-Control directive is defined. Parameters string $key The Cache-Control directive Return Value bool true if the directive exists, false otherwise

ProfilerListener::onKernelException()

onKernelException(GetResponseForExceptionEvent $event) Handles the onKernelException event. Parameters GetResponseForExceptionEvent $event A GetResponseForExceptionEvent instance

EventDispatcher

class EventDispatcher implements EventDispatcherInterface The EventDispatcherInterface is the central point of Symfony's event listener system. Listeners are registered on the manager and events are dispatched through the manager. Methods Event dispatch(string $eventName, Event $event = null) Dispatches an event to all registered listeners. array getListeners(string $eventName = null) Gets the listeners of a specific event or all listeners sorted by descending priority. int|null

ExceptionInterface

interface ExceptionInterface Interface for exceptions. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

FullTransformer::parse()

int parse(DateTime $dateTime, string $value) Parse a pattern based string to a timestamp value. Parameters DateTime $dateTime A configured DateTime object to use to perform the date calculation string $value String to convert to a time value Return Value int The corresponding Unix timestamp Exceptions InvalidArgumentException When the value can not be matched with pattern

Expression::isRegex()

bool isRegex() Return Value bool

Hour1201Transformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

ParserCacheInterface::fetch()

ParsedExpression|null fetch(string $key) Fetches an expression from the cache. Parameters string $key The cache key Return Value ParsedExpression|null

KernelInterface

interface KernelInterface implements HttpKernelInterface, Serializable The Kernel is the heart of the Symfony system. It manages an environment made of bundles. Methods Response handle(Request $request, int $type = self::MASTER_REQUEST, bool $catch = true) Handles a Request to convert it to a Response. from HttpKernelInterface BundleInterface[] registerBundles() Returns an array of bundles to register. registerContainerConfiguration(LoaderInterface $loader) Loads the container c