ParameterBag

class ParameterBag implements IteratorAggregate, Countable ParameterBag is a container for key/value pairs. Methods __construct(array $parameters = array()) Constructor. array all() Returns the parameters. array keys() Returns the parameter keys. replace(array $parameters = array()) Replaces the current parameters by a new set. add(array $parameters = array()) Adds parameters. mixed get(string $key, mixed $default = null) Returns a parameter by name. set(str

TimezoneType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

FormType::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. This method gets called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. When this method is called, views of the form's children have already been built and finished and can be accessed. You should only implement such logic in this method that actually accesses child views. For everything else you are recommended to implement {@link buil

LoggingFormatter

class LoggingFormatter Used to format logging messages during the compilation. Methods formatRemoveService(CompilerPassInterface $pass, $id, $reason) formatInlineService(CompilerPassInterface $pass, $id, $target) formatUpdateReference(CompilerPassInterface $pass, $serviceId, $oldDestId, $newDestId) formatResolveInheritance(CompilerPassInterface $pass, $childId, $parentId) format(CompilerPassInterface $pass, $message) Details forma

ArrayChoiceList::getOriginalKeys()

int[]|string[] getOriginalKeys() Returns the original keys of the choices. The original keys are the keys of the choice array that was passed in the "choice" option of the choice type. Note that this array may contain duplicates if the "choice" option contained choice groups: $form->add('field', 'choice', array( 'choices' => array( 'Decided' => array(true, false), 'Undecided' => array(null), ), )); In this example, the original key 0 appears t

Component\VarDumper\Cloner

Classes AbstractCloner AbstractCloner implements a generic caster mechanism for objects and resources. Cursor Represents the current state of a dumper while dumping. Data Stub Represents the main properties of a PHP variable. VarCloner Interfaces ClonerInterface DumperInterface DumperInterface used by Data objects.

PropertyPathBuilder::getPropertyPath()

PropertyPathInterface getPropertyPath() Returns the current property path. Return Value PropertyPathInterface The constructed property path

RegionBundleTransformationRule::afterCreateStub()

afterCreateStub(StubbingContextInterface $context) Runs instructions to be executed after creating the stub version of the resource bundle. Parameters StubbingContextInterface $context The contextual information of the compilation.

MinuteTransformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

PlaintextPasswordEncoder::isPasswordValid()

bool isPasswordValid(string $encoded, string $raw, string $salt) Checks a raw password against an encoded password. Parameters string $encoded An encoded password string $raw A raw password string $salt The salt Return Value bool true if the password is valid, false otherwise