FormField::isDisabled()

bool isDisabled() Check if the current field is disabled. Return Value bool

Component\Intl\Collator

Classes Collator Replacement for PHP's native {@link \Collator} class.

FormRendererInterface::renderCsrfToken()

string renderCsrfToken(string $tokenId) Renders a CSRF token. Use this helper for CSRF protection without the overhead of creating a form. Check the token in your action using the same token ID. $csrfProvider = $this->get('security.csrf.tokengenerator'); if (!$csrfProvider->isCsrfTokenValid('rmuser_'.$user->getId(), $token)) { throw new \RuntimeException('CSRF attack detected.'); } Parameters string $tokenId The ID of the CSRF token Return Value string A CSRF to

Definition::getAutowiringTypes()

string[] getAutowiringTypes() Gets autowiring types that will default to this definition. Return Value string[]

Definition::setMethodCalls()

Definition setMethodCalls(array $calls = array()) Sets the methods to call after service initialization. Parameters array $calls An array of method calls Return Value Definition The current instance

Crawler::addNode()

addNode(DOMNode $node) Adds a \DOMNode instance to the list of nodes. Parameters DOMNode $node A \DOMNode instance

ResourceCaster::castGd()

static castGd($gd, array $a, Stub $stub, $isNested) Parameters $gd array $a Stub $stub $isNested

FormBuilder

class FormBuilder extends FormConfigBuilder implements IteratorAggregate, FormBuilderInterface A builder for creating {@link Form} instances. Methods __construct(string|int $name, string $dataClass, EventDispatcherInterface $dispatcher, FormFactoryInterface $factory, array $options = array()) Creates a new form builder. FormConfigBuilderInterface addEventListener(string $eventName, callable $listener, int $priority) Adds an event listener to an event on this form. from FormConfigBu

Definition::removeAutowiringType()

Definition removeAutowiringType(string $type) Removes a type. Parameters string $type Return Value Definition The current instance

AcceptHeaderItem::getQuality()

float getQuality() Returns the item quality. Return Value float