DataCollectorExtension

class DataCollectorExtension extends AbstractExtension Extension for collecting data of the forms on a page. Methods FormTypeInterface getType(string $name) Returns a type by name. from AbstractExtension bool hasType(string $name) Returns whether the given type is supported. from AbstractExtension FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. from AbstractExtension bool hasTypeExtensions(string $name) Returns whether t

JsonResponse::create()

static Response create(mixed $data = null, int $status = 200, array $headers = array()) Factory method for chainability. Example: return JsonResponse::create($data, 200) ->setSharedMaxAge(300); Parameters mixed $data The json response data int $status The response status code array $headers An array of response headers Return Value Response

FormHelper::form()

string form(FormView $view, array $variables = array()) Renders the HTML for a form. Example usage: <?php echo view['form']->form($form) ?> You can pass options during the call: <?php echo view['form']->form($form, array('attr' => array('class' => 'foo'))) ?> <?php echo view['form']->form($form, array('separator' => '+++++')) ?> This method is mainly intended for prototyping purposes. If you want to control the layout of a form in a more fin

GroupSequenceProviderInterface

interface GroupSequenceProviderInterface Defines the interface for a group sequence provider. Methods array getGroupSequence() Returns which validation groups should be used for a certain state of the object. Details array getGroupSequence() Returns which validation groups should be used for a certain state of the object. Return Value array An array of validation groups

VarDumperTestCase deprecated

class VarDumperTestCase extends PHPUnit_Framework_TestCase deprecated since version 2.8, to be removed in 3.0. Use the VarDumperTestTrait instead. Methods assertDumpEquals($dump, $data, $message = '') assertDumpMatchesFormat($dump, $data, $message = '') Details assertDumpEquals($dump, $data, $message = '') Parameters $dump $data $message assertDumpMatchesFormat($dump, $data, $message = '')

ChoiceListFactoryInterface::createListFromLoader()

ChoiceListInterface createListFromLoader(ChoiceLoaderInterface $loader, null|callable $value = null) Creates a choice list that is loaded with the given loader. Optionally, a callable can be passed for generating the choice values. The callable receives the choice as first and the array key as the second argument. Parameters ChoiceLoaderInterface $loader The choice loader null|callable $value The callable generating the choice values Return Value ChoiceListInterface The choice

AddConstraintValidatorsPass

class AddConstraintValidatorsPass implements CompilerPassInterface 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

PropertyAccessDecorator::getDecoratedFactory()

ChoiceListFactoryInterface getDecoratedFactory() Returns the decorated factory. Return Value ChoiceListFactoryInterface The decorated factory

AbstractAdapter deprecated

class AbstractAdapter implements AdapterInterface deprecated since 2.8, to be removed in 3.0. Use Finder instead. Interface for finder engine implementations. Methods bool isSupported() Tests adapter support for current platform. AdapterInterface setFollowLinks(bool $followLinks) AdapterInterface setMode(int $mode) AdapterInterface setDepths(array $depths) AdapterInterface setExclude(array $exclude) AdapterInterface setNames(array $names) AdapterInter

Cookie::getValue()

string getValue() Gets the value of the cookie. Return Value string The cookie value