Component\Validator\Mapping\Cache

Classes ApcCache Interfaces CacheInterface Persists ClassMetadata instances in a cache

Inline::isHash()

static bool isHash(array $value) Check if given array is hash or just normal indexed array. Parameters array $value The PHP array to check Return Value bool true if value is hash array, false otherwise

RegistryInterface::getEntityManagerForClass()

EntityManager|null getEntityManagerForClass(string $class) Gets the entity manager associated with a given class. Parameters string $class A Doctrine Entity class name Return Value EntityManager|null

ConstraintViolationBuilder

class ConstraintViolationBuilder implements ConstraintViolationBuilderInterface Default implementation of {@link ConstraintViolationBuilderInterface}. Methods __construct(ConstraintViolationList $violations, Constraint $constraint, $message, array $parameters, $root, $propertyPath, $invalidValue, TranslatorInterface $translator, $translationDomain = null) ConstraintViolationBuilderInterface atPath(string $path) Stores the property path at which the violation should be generated.

AuditableEntryInterface::isAuditFailure()

bool isAuditFailure() Whether auditing for successful grants is turned on Return Value bool

DOMCaster::castXPath()

static castXPath(DOMXPath $dom, array $a, Stub $stub, $isNested) Parameters DOMXPath $dom array $a Stub $stub $isNested

TemplatePathsCacheWarmer::isOptional()

bool isOptional() Checks whether this warmer is optional or not. Return Value bool true if the warmer is optional, false otherwise

NegationNode::getSelector()

NodeInterface getSelector() Return Value NodeInterface

Container::getParameterBag()

ParameterBagInterface getParameterBag() Gets the service container parameter bag. Return Value ParameterBagInterface A ParameterBagInterface instance

Expression::validatedBy()

string validatedBy() Returns the name of the class that validates this constraint. By default, this is the fully qualified name of the constraint class suffixed with "Validator". You can override this method to change that behaviour. Return Value string