ValidatorInterface

interface ValidatorInterface implements MetadataFactoryInterface Validates PHP values against constraints. Methods MetadataInterface getMetadataFor(mixed $value) Returns the metadata for the given value. from MetadataFactoryInterface bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. from MetadataFactoryInterface ConstraintViolationListInterface validate(mixed $value, Constraint|Constraint[] $constraints = null, array|null

Component\Intl\Globals

Classes IntlGlobals Provides fake static versions of the global functions in the intl extension

DayOfWeekTransformer::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

Section::getEvent()

StopwatchEvent getEvent(string $name) Returns a specific event by name. Parameters string $name The event name Return Value StopwatchEvent The event Exceptions LogicException When the event is not known

RouteCollection::setMethods()

setMethods(string|array $methods) Sets the HTTP methods (e.g. 'POST') all child routes are restricted to. Parameters string|array $methods The method or an array of methods

ServiceReferenceGraph::hasNode()

bool hasNode(string $id) Checks if the graph has a specific node. Parameters string $id Id to check Return Value bool

Component\EventDispatcher

Namespaces Symfony\Component\EventDispatcher\Debug Classes ContainerAwareEventDispatcher Lazily loads listeners and subscribers from the dependency injection container Event Event is the base class for classes containing event data. EventDispatcher The EventDispatcherInterface is the central point of Symfony's event listener system. GenericEvent Event encapsulation class. ImmutableEventDispatcher A read-only proxy for an event dispatcher. Interfaces EventDispatcherInter

ButtonType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

NodeInterface::hasDefaultValue()

bool hasDefaultValue() Returns true when the node has a default value. Return Value bool If the node has a default value

RouteCollectionBuilder

class RouteCollectionBuilder Helps add and import routes into a RouteCollection. Methods __construct(LoaderInterface $loader = null) RouteCollectionBuilder import(mixed $resource, string|null $prefix = '/', string $type = null) Import an external routing resource and returns the RouteCollectionBuilder. Route add(string $path, string $controller, string|null $name = null) Adds a route and returns it for future modification. RouteCollectionBuilder createBuilder() Returns a