DoctrineType::getQueryBuilderPartsForCachingHash()

array|false getQueryBuilderPartsForCachingHash(object $queryBuilder) Gets important parts from QueryBuilder that will allow to cache its results. For instance in ORM two query builders with an equal SQL string and equal parameters are considered to be equal. Parameters object $queryBuilder Return Value array|false Array with important QueryBuilder parts or false if they can't be determined

DoctrineType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

AddConstraintValidatorsPass

class AddConstraintValidatorsPass implements CompilerPassInterface Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

TimeValidator

class TimeValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. PATTERN Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator static bool checkTime(int $hour, int $minute, int $second) Checks whether a time is valid. validate(mixed $value, Co

Router::matchRequest()

array matchRequest(Request $request) Tries to match a request with a set of routes. If the matcher can not find information, it must throw one of the exceptions documented below. Parameters Request $request The request to match Return Value array An array of parameters Exceptions ResourceNotFoundException If no matching resource could be found MethodNotAllowedException If a matching resource was found but the request method is not allowed

ValidatorInterface deprecated::validateProperty()

ConstraintViolationListInterface validateProperty(mixed $containingValue, string $property, array|null $groups = null) Validates a property of a value against its current value. The accepted values depend on the {@link MetadataFactoryInterface} implementation. Parameters mixed $containingValue The value containing the property. string $property The name of the property to validate. array|null $groups The validation groups to validate. Return Value ConstraintViolationListInterf

AbstractCloner

class AbstractCloner implements ClonerInterface AbstractCloner implements a generic caster mechanism for objects and resources. Properties static $defaultCasters Methods __construct(array $casters = null) addCasters(array $casters) Adds casters for resources and objects. setMaxItems(int $maxItems) Sets the maximum number of items to clone past the first level in nested structures. setMaxString(int $maxString) Sets the maximum cloned length for strings. Data clo

ConfigurableRequirementsInterface

interface ConfigurableRequirementsInterface ConfigurableRequirementsInterface must be implemented by URL generators that can be configured whether an exception should be generated when the parameters do not match the requirements. It is also possible to disable the requirements check for URL generation completely. The possible configurations and use-cases: - setStrictRequirements(true): Throw an exception for mismatching requirements. This is mostly useful in development environment. - setSt

Bundle\DebugBundle\DependencyInjection

Classes Configuration DebugExtension configuration structure. DebugExtension DebugExtension.

ContainerBuilder::getExtensions()

ExtensionInterface[] getExtensions() Returns all registered extensions. Return Value ExtensionInterface[] An array of ExtensionInterface