AssetExtension

class AssetExtension extends Twig_Extension Twig extension for the Symfony Asset component. Methods __construct(Packages $packages) getFunctions() {@inheritdoc} string getAssetUrl(string $path, string $packageName = null) Returns the public url/path of an asset. string getAssetVersion(string $path, string $packageName = null) Returns the version of an asset. string getName() Returns the name of the extension. Details __construct(Packa

RequestHelper::getParameter()

mixed getParameter(string $key, string $default = null) Returns a parameter from the current request object. Parameters string $key The name of the parameter string $default A default value Return Value mixed See also Request::get()

CookieJar::updateFromSetCookie()

updateFromSetCookie(array $setCookies, string $uri = null) Updates the cookie jar from a response Set-Cookie headers. Parameters array $setCookies Set-Cookie headers from an HTTP response string $uri The base URL

FormRendererInterface::renderBlock()

string renderBlock(FormView $view, string $blockName, array $variables = array()) Renders a named block of the form theme. Parameters FormView $view The view for which to render the block string $blockName The name of the block array $variables The variables to pass to the template Return Value string The HTML markup

InputOption::acceptValue()

bool acceptValue() Returns true if the option accepts a value. Return Value bool true if value mode is not self::VALUE_NONE, false otherwise

ListCommand

class ListCommand extends Command ListCommand displays the list of all available commands for the application. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. fro

AbstractFileExtractor

class AbstractFileExtractor Base class used by classes that extract translation messages from files.

RegionDataProvider

class RegionDataProvider Data provider for region-related ICU data. Methods __construct(string $path, BundleEntryReaderInterface $reader) Creates a data provider that reads locale-related data from .res files. getRegions() getName($region, $displayLocale = null) getNames($displayLocale = null) Details __construct(string $path, BundleEntryReaderInterface $reader) Creates a data provider that reads locale-related data from .res

ConsoleOutputInterface::setErrorOutput()

setErrorOutput(OutputInterface $error) Sets the OutputInterface used for errors. Parameters OutputInterface $error

Crawler::text()

string text() Returns the node value of the first node of the list. Return Value string The node value Exceptions InvalidArgumentException When current node is empty