Application::renderException()

renderException(Exception $e, OutputInterface $output) Renders a caught exception. Parameters Exception $e An exception instance OutputInterface $output An OutputInterface instance

LanguageDataProvider

class LanguageDataProvider Data provider for language-related ICU data. Methods __construct(string $path, BundleEntryReaderInterface $reader) Creates a data provider that reads locale-related data from .res files. getLanguages() getAliases() getName($language, $displayLocale = null) getNames($displayLocale = null) getAlpha3Code($language) Details __construct(string $path, BundleEntryReaderInterface $reader) Create

ButtonBuilder::getDataClass()

string getDataClass() Unsupported method. Return Value string The data class or null

DoctrineCache::setCache()

setCache(Cache $cache) Sets the cache to adapt. Parameters Cache $cache The cache to adapt

OutputFormatterInterface::setDecorated()

setDecorated(bool $decorated) Sets the decorated flag. Parameters bool $decorated Whether to decorate the messages or not

OrderedHashMapIterator::current()

current() {@inheritdoc}

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

Form::initialize()

FormInterface initialize() Initializes the form tree. Should be called on the root form after constructing the tree. Return Value FormInterface The form instance

ConstraintViolationInterface

interface ConstraintViolationInterface A violation of a constraint that happened during validation. For each constraint that fails during validation one or more violations are created. The violations store the violation message, the path to the failing element in the validation graph and the root element that was originally passed to the validator. For example, take the following graph: (Person)---(firstName: string) \ (address: Address)---(street: string) If the Person object is va

GlobalVariables::getEnvironment()

string getEnvironment() Returns the current app environment. Return Value string The current environment string (e.g 'dev')