PhpEngine

class PhpEngine implements EngineInterface, ArrayAccess PhpEngine is an engine able to render PHP templates. Methods __construct(TemplateNameParserInterface $parser, LoaderInterface $loader, array $helpers = array()) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. bool exists(string|TemplateReferenceInterface $name) Returns true if the template exists. bool supports(string|TemplateReferenceInterface $name

Output::isVerbose()

bool isVerbose() Returns whether verbosity is verbose (-v). Return Value bool true if verbosity is set to VERBOSITY_VERBOSE, false otherwise

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