AcceptHeader::has()

bool has(string $value) Tests if header has given value. Parameters string $value Return Value bool

AcceptHeader::all()

AcceptHeaderItem[] all() Returns all items. Return Value AcceptHeaderItem[]

AcceptHeader::first()

AcceptHeaderItem|null first() Returns first item. Return Value AcceptHeaderItem|null

AcceptHeader::fromString()

static AcceptHeader fromString(string $headerValue) Builds an AcceptHeader instance from a string. Parameters string $headerValue Return Value AcceptHeader

AcceptHeader::filter()

AcceptHeader filter(string $pattern) Filters items on their value using given regex. Parameters string $pattern Return Value AcceptHeader

AcceptHeader::add()

AcceptHeader add(AcceptHeaderItem $item) Adds an item. Parameters AcceptHeaderItem $item Return Value AcceptHeader

AcceptHeader

class AcceptHeader Represents an Accept-* header. An accept header is compound with a list of items, sorted by descending quality. Methods __construct(array $items) Constructor. static AcceptHeader fromString(string $headerValue) Builds an AcceptHeader instance from a string. string __toString() Returns header value's string representation. bool has(string $value) Tests if header has given value. AcceptHeaderItem|null get(string $value) Returns given value's item, if

AbstractUriElement

class AbstractUriElement Any HTML element that can link to an URI. Methods __construct(DOMElement $node, string $currentUri, string $method = 'GET') DOMElement getNode() Gets the node associated with this link. string getMethod() Gets the method associated with this link. string getUri() Gets the URI associated with this link. Details __construct(DOMElement $node, string $currentUri, string $method = 'GET') Parameters DOMElemen

AbstractTypeExtension::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes the view. This method is called after the extended type has finished the view to further modify it. Parameters FormView $view The view FormInterface $form The form array $options The options

AbstractUriElement::getMethod()

string getMethod() Gets the method associated with this link. Return Value string The method