ObjectChoiceList deprecated

class ObjectChoiceList extends ChoiceList deprecated since Symfony 2.7, to be removed in version 3.0. Use {@link \Symfony\Component\Form\ChoiceList\ArrayChoiceList} instead. A choice list for object choices. Supports generation of choice labels, choice groups and choice values by calling getters of the object (or associated objects). $choices = array($user1, $user2); // call getName() to determine the choice labels $choiceList = new ObjectChoiceList($choices, 'name'); Methods __con

ChoiceListInterface deprecated

interface ChoiceListInterface deprecated since version 2.7, to be removed in 3.0. Use {@link \Symfony\Component\Form\ChoiceList\ChoiceListInterface} instead. Contains choices that can be selected in a form field. Each choice has three different properties: Choice: The choice that should be returned to the application by the choice field. Can be any scalar value or an object, but no array. Label: A text representing the choice that is displayed to the user. Value: A uniquely identifying v

BsdFindAdapter deprecated

class BsdFindAdapter extends AbstractFindAdapter deprecated since 2.8, to be removed in 3.0. Use Finder instead. Shell engine implementation using BSD find command. Methods bool isSupported() Tests adapter support for current platform. from AbstractAdapter AdapterInterface setFollowLinks(bool $followLinks) from AbstractAdapter AdapterInterface setMode(int $mode) from AbstractAdapter AdapterInterface setDepths(array $depths) from AbstractAdapter AdapterInterface set

RouterDebugCommand

class RouterDebugCommand extends ContainerAwareCommand A console command for retrieving information about routes. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set.

DumperRoute::getRoute()

Route getRoute() Returns the route. Return Value Route The route

HelperInterface::getCharset()

string getCharset() Gets the default charset. Return Value string The default charset

FormFactoryBuilder::addTypeExtensions()

FormFactoryBuilderInterface addTypeExtensions(array $typeExtensions) Adds a list of form type extensions to the factory. Parameters array $typeExtensions The form type extensions. Return Value FormFactoryBuilderInterface The builder.

ExecutionContext deprecated::addViolation()

addViolation(string $message, array $params = array(), mixed $invalidValue = null, int|null $plural = null, int|null $code = null) Adds a violation at the current node of the validation graph. Note: the parameters $invalidValue, $plural and $code are deprecated since version 2.5 and will be removed in 3.0. Parameters string $message The error message array $params The parameters substituted in the error message mixed $invalidValue The invalid, validated value int|null $plural The n

MutableAclInterface::deleteObjectAce()

deleteObjectAce(int $index) Deletes an object-based ACE Parameters int $index

Input::hasOption()

bool hasOption(string $name) Returns true if an InputOption object exists by name. Parameters string $name The InputOption name Return Value bool true if the InputOption object exists, false otherwise