Container::hasParameter()

bool hasParameter(string $name) Checks if a parameter exists. Parameters string $name The parameter name Return Value bool The presence of parameter in container

DialogHelper deprecated::ask()

string ask(OutputInterface $output, string|array $question, string $default = null, array $autocomplete = null) Asks a question to the user. Parameters OutputInterface $output An Output instance string|array $question The question to ask string $default The default answer if none is given by the user array $autocomplete List of values to autocomplete Return Value string The user answer Exceptions RuntimeException If there is no data to read in the input stream

ClassMetadata::addConstraint()

GenericMetadata addConstraint(Constraint $constraint) Adds a constraint. If the constraint {@link Valid} is added, the cascading strategy will be changed to {@link CascadingStrategy::CASCADE}. Depending on the $traverse property of that constraint, the traversal strategy will be set to one of the following: {@link TraversalStrategy::IMPLICIT} if $traverse is enabled {@link TraversalStrategy::NONE} if $traverse is disabled Parameters Constraint $constraint The constraint to add

NativeSessionStorage::getName()

mixed getName() Returns the session name. Return Value mixed The session name

Output

class Output implements OutputInterface Base class for output classes. There are five levels of verbosity: normal: no option passed (normal output) verbose: -v (more output) very verbose: -vv (highly extended output) debug: -vvv (all debug output) quiet: -q (no output) Methods __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = false, OutputFormatterInterface $formatter = null) Constructor. setFormatter(OutputFormatterInterface $formatter) Sets output formatter.

IntlDateFormatter::getCalendarObject()

object getCalendarObject() Not supported. Returns the formatter's calendar object. Return Value object The calendar's object being used by the formatter Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/intldateformatter.getcalendarobject.php

PropertyNormalizer::supportsDenormalization()

bool supportsDenormalization(mixed $data, string $type, string $format = null) Checks whether the given class is supported for denormalization by this normalizer. Parameters mixed $data Data to denormalize from. string $type The class to which the data should be denormalized. string $format The format being deserialized from. Return Value bool

IntlDateFormatter::create()

static IntlDateFormatter create(string $locale, int $datetype, int $timetype, string $timezone = null, int $calendar = self::GREGORIAN, string $pattern = null) Static constructor. Parameters string $locale The locale code. The only currently supported locale is "en" (or null using the default locale, i.e. "en") int $datetype Type of date formatting, one of the format type constants int $timetype Type of time formatting, one of the format type constants string $timezo

CheckboxType::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

Guess::getConfidence()

int getConfidence() Returns the confidence that the guessed value is correct. Return Value int One of the constants VERYHIGHCONFIDENCE, HIGHCONFIDENCE, MEDIUMCONFIDENCE and LOW_CONFIDENCE