FormPass

class FormPass implements CompilerPassInterface Adds all services with the tags "form.type" and "form.type_guesser" as arguments of the "form.extension" service. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

RouterListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

Component\Form\Extension\DataCollector

Namespaces Symfony\Component\Form\Extension\DataCollector\EventListenerSymfony\Component\Form\Extension\DataCollector\ProxySymfony\Component\Form\Extension\DataCollector\Type Classes DataCollectorExtension Extension for collecting data of the forms on a page. FormDataCollector Data collector for {@link \Symfony\Component\Form\FormInterface} instances. FormDataExtractor Default implementation of {@link FormDataExtractorInterface}. Interfaces FormDataCollectorInterface Collects

ExecutionContextInterface::setGroup()

setGroup(string|null $group) Sets the currently validated group. Parameters string|null $group The validated group

Application::getNamespaces()

string[] getNamespaces() Returns an array of all unique namespaces used by currently registered commands. It does not return the global namespace which always exists. Return Value string[] An array of namespaces

FormConfigBuilder::setInheritData()

FormConfigBuilderInterface setInheritData(bool $inheritData) Sets whether the form should read and write the data of its parent. Parameters bool $inheritData Whether the form should inherit its parent's data Return Value FormConfigBuilderInterface The configuration object

RoleInterface

interface RoleInterface RoleInterface represents a role granted to a user. A role must either have a string representation or it needs to be explicitly supported by at least one AccessDecisionManager. Methods string|null getRole() Returns the role. Details string|null getRole() Returns the role. This method returns a string representation whenever possible. When the role cannot be represented with sufficient precision by a string, it should ret

DateTimeType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

SymfonyTestsListener

class SymfonyTestsListener extends PHPUnit_Framework_BaseTestListener Collects and replays skipped tests. Methods __construct(array $mockedNamespaces = array()) __destruct() startTestSuite(PHPUnit_Framework_TestSuite $suite) addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) startTest(PHPUnit_Framework_Test $test) endTest(PHPUnit_Framework_Test $test, $time) Details __construct(array $mockedNamespaces = array(

PropertyAccessorInterface::setValue()

setValue(object|array $objectOrArray, string|PropertyPathInterface $propertyPath, mixed $value) Sets the value at the end of the property path of the object graph. Example: use Symfony\Component\PropertyAccess\PropertyAccess; $propertyAccessor = PropertyAccess::createPropertyAccessor(); echo $propertyAccessor->setValue($object, 'child.name', 'Fabien'); // equals echo $object->getChild()->setName('Fabien'); This method first tries to find a public setter for each property