Entry::isAuditSuccess()

bool isAuditSuccess() Whether auditing for successful denies is turned on Return Value bool

FormFactoryBuilderInterface::setResolvedTypeFactory()

FormFactoryBuilderInterface setResolvedTypeFactory(ResolvedFormTypeFactoryInterface $resolvedTypeFactory) Sets the factory for creating ResolvedFormTypeInterface instances. Parameters ResolvedFormTypeFactoryInterface $resolvedTypeFactory Return Value FormFactoryBuilderInterface The builder

LazyChoiceList deprecated::getIndicesForChoices()

array getIndicesForChoices(array $choices) deprecated deprecated since version 2.4, to be removed in 3.0. Returns the indices corresponding to the given choices. The indices must be positive integers or strings accepted by {@link \Symfony\Component\Form\FormConfigBuilder::validateName()}. The index "placeholder" is internally reserved. The indices must be returned with the same keys and in the same order as the corresponding choices in the given array. Parameters array $choi

LazyChoiceList deprecated::getPreferredViews()

array getPreferredViews() Returns the choice views of the preferred choices as nested array with the choice groups as top-level keys. Example: array( 'Group 1' => array( 10 => ChoiceView object, 20 => ChoiceView object, ), 'Group 2' => array( 30 => ChoiceView object, ), ) Return Value array A nested array containing the views with the corresponding choice indices as keys on the lowest levels and the choice group names in the keys of the higher levels

Definition::setTags()

Definition setTags(array $tags) Sets tags for this definition. Parameters array $tags Return Value Definition the current instance

OutputFormatter::setStyle()

setStyle(string $name, OutputFormatterStyleInterface $style) Sets a new style. Parameters string $name The style name OutputFormatterStyleInterface $style The style instance

ExtensionGuesserInterface

interface ExtensionGuesserInterface Guesses the file extension corresponding to a given mime type. Methods string guess(string $mimeType) Makes a best guess for a file extension, given a mime type. Details string guess(string $mimeType) Makes a best guess for a file extension, given a mime type. Parameters string $mimeType The mime type Return Value string The guessed extension or NULL, if none could be guessed

Finder::in()

Finder|SplFileInfo[] in(string|array $dirs) Searches files and directories which match defined rules. Parameters string|array $dirs A directory path or an array of directories Return Value Finder|SplFileInfo[] The current Finder instance Exceptions InvalidArgumentException if one of the directories does not exist

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

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.