ExceptionCaster

class ExceptionCaster Casts common Exception classes to array representation. Properties static $srcContext static $traceArgs static $errorTypes Methods static castError(Error $e, array $a, Stub $stub, $isNested, $filter) static castException(Exception $e, array $a, Stub $stub, $isNested, $filter) static castErrorException(ErrorException $e, array $a, Stub $stub, $isNested) static castThrowingCasterException(ThrowingCasterException $e, array $a, Stub $stub

Component\Intl\Exception

Classes BadMethodCallException Base BadMethodCallException for the Intl component. InvalidArgumentException InvalidArgumentException for the Intl component. MethodArgumentNotImplementedException MethodArgumentValueNotImplementedException MethodNotImplementedException NotImplementedException Base exception class for not implemented behaviors of the intl extension in the Locale component. OutOfBoundsException Base OutOfBoundsException for the Intl component. RuntimeEx

ProfilerListener::onKernelException()

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

StoreInterface::lock()

bool|string lock(Request $request) Locks the cache for a given Request. Parameters Request $request A Request instance Return Value bool|string true if the lock is acquired, the path to the current lock otherwise

AdapterInterface deprecated::setNotPath()

AdapterInterface setNotPath(array $notPaths) Parameters array $notPaths Return Value AdapterInterface Current instance

RedisProfilerStorage deprecated::find()

array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. Parameters string $ip The IP string $url The URL string $limit The maximum number of tokens to return string $method The request method int|null $start The start date to search from int|null $end The end date to search to Return Value array An array of tokens

ArgvInput::hasParameterOption()

bool hasParameterOption(string|array $values, bool $onlyParams = false) Returns true if the raw parameters (not parsed) contain a value. This method is to be used to introspect the input parameters before they have been validated. It must be used carefully. Parameters string|array $values The values to look for in the raw parameters (can be an array) bool $onlyParams Only check real parameters, skip those following an end of options (--) signal Return Value bool true if the val

DefinitionDecorator::replaceArgument()

Definition replaceArgument(int $index, mixed $value) You should always use this method when overwriting existing arguments of the parent definition. If you directly call setArguments() keep in mind that you must follow certain conventions when you want to overwrite the arguments of the parent definition, otherwise your arguments will only be appended. Parameters int $index mixed $value Return Value Definition The current instance Exceptions InvalidArgumentException when $ind

FormDataCollector::collectSubmittedData()

collectSubmittedData(FormInterface $form) Stores the submitted data of the given form and its children. Parameters FormInterface $form A root form

GenericMetadata::getTraversalStrategy()

int getTraversalStrategy() Returns the strategy for traversing traversable objects. Return Value int The traversal strategy