ImmutableEventDispatcher

class ImmutableEventDispatcher implements EventDispatcherInterface A read-only proxy for an event dispatcher. Methods __construct(EventDispatcherInterface $dispatcher) Creates an unmodifiable proxy for an event dispatcher. Event dispatch(string $eventName, Event $event = null) Dispatches an event to all registered listeners. addListener(string $eventName, callable $listener, int $priority) Adds an event listener that listens on the specified events. addSubscriber(EventSubs

ImageValidator

class ImageValidator extends FileValidator Validates whether a value is a valid image file and is valid against minWidth, maxWidth, minHeight and maxHeight constraints. 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. KB_BYTES MB_BYTES KIB_BYTES MIB_BYTES Methods initialize(ExecutionContextInterface $context) Initializes the constra

Image

class Image extends File Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_FOUND_ERROR NOT_READABLE_ERROR EMPTY_ERROR TOO_LARGE_ERROR INVALID_MIME_TYPE_ERROR SIZE_NOT_DETECTED_ERROR TOO_WIDE_ERROR TOO_NARROW_ERROR TOO_HIGH_ERROR TOO_LOW_ERROR RATIO_TOO_BIG_ERRO

Image

class Image extends AbstractUriElement Image represents an HTML image (an HTML img tag). Methods __construct(DOMElement $node, string $currentUri) DOMElement getNode() Gets the node associated with this link. from AbstractUriElement string getMethod() Gets the method associated with this link. from AbstractUriElement string getUri() Gets the URI associated with this link. from AbstractUriElement Details __construct(DOMElement $node, string $c

IdReader::isSingleId()

bool isSingleId() Returns whether the class has a single-column ID. Return Value bool Returns true if the class has a single-column ID and false otherwise.

IdReader::isIntId()

bool isIntId() Returns whether the class has a single-column integer ID. Return Value bool Returns true if the class has a single-column integer ID and false otherwise.

IdReader::getIdValue()

mixed getIdValue(object $object) Returns the ID value for an object. This method assumes that the object has a single-column ID. Parameters object $object The object Return Value mixed The ID value

IdReader::getIdField()

string getIdField() Returns the name of the ID field. This method assumes that the object has a single-column ID. Return Value string The name of the ID field

IdReader

class IdReader A utility for reading object IDs. Methods __construct(ObjectManager $om, ClassMetadata $classMetadata) bool isSingleId() Returns whether the class has a single-column ID. bool isIntId() Returns whether the class has a single-column integer ID. mixed getIdValue(object $object) Returns the ID value for an object. string getIdField() Returns the name of the ID field. Details __construct(ObjectManager $om, ClassMetadata $cl

IdentityTranslator::transChoice()

string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given choice message by choosing a translation according to a number. Parameters string $id The message id (may also be an object that can be cast to string) int $number The number to use to find the indice of the message array $parameters An array of parameters for the message string|null $domain The domain for the message or null to u