ArrayInput

class ArrayInput extends Input ArrayInput represents an input provided as an array. Usage: $input = new ArrayInput(array('name' => 'foo', '--bar' => 'foobar')); Methods __construct(array $parameters, InputDefinition $definition = null) Constructor. bind(InputDefinition $definition) Binds the current Input instance with the given arguments and options. from Input validate() Validates the input. from Input bool isInteractive() Is this input means interactive? from Inpu

ProgressBar::setMessage()

setMessage(string $message, string $name = 'message') Associates a text with a named placeholder. The text is displayed when the progress bar is rendered but only when the corresponding placeholder is part of the custom format line (by wrapping the name with %). Parameters string $message The text to associate with the placeholder string $name The name of the placeholder

LazyChoiceList::getStructuredValues()

string[] getStructuredValues() Returns the values in the structure originally passed to the list. Contrary to {@link getValues()}, the result is indexed by the original keys of the choices. If the original array contained nested arrays, these nested arrays are represented here as well: $form->add('field', 'choice', array( 'choices' => array( 'Decided' => array('Yes' => true, 'No' => false), 'Undecided' => array('Maybe' => null), ), ));

ChainUserProvider

class ChainUserProvider implements UserProviderInterface Chain User Provider. This provider calls several leaf providers in a chain until one is able to handle the request. Methods __construct(array $providers) array getProviders() UserInterface loadUserByUsername(string $username) Loads the user for the given username. UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. bool supportsClass(string $class) Whether this provider

CurrencyDataProvider::getName()

getName($currency, $displayLocale = null) Parameters $currency $displayLocale

IdentityTranslator::getLocale()

string getLocale() Returns the current locale. Return Value string The locale

DumpDataCollector::getName()

string getName() Returns the name of the collector. Return Value string The collector name

Constraint

class Constraint Contains the properties of a constraint definition. A constraint can be defined on a class, a property or a getter method. The Constraint class encapsulates all the configuration required for validating this class, property or getter result successfully. Constraint instances are immutable and serializable. Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PRO

Client::back()

Crawler back() Goes back in the browser history. Return Value Crawler

Process::setEnv()

Process setEnv(array $env) Sets the environment variables. An environment variable value should be a string. If it is an array, the variable is ignored. That happens in PHP when 'argv' is registered into the $_ENV array for instance. Parameters array $env The new environment variables Return Value Process The current Process instance