bool has(string $name) Returns whether a child with the given name exists. Parameters string $name The name of the child Return Value bool
dumpNode(NodeInterface $node, $namespace = null) Parameters NodeInterface $node $namespace
setCacheVersionInfo($cacheVersionInfo) Parameters $cacheVersionInfo
transchoice($message, $count, array $arguments = array(), $domain = null, $locale = null) Parameters $message $count array $arguments $domain $locale
string getAssetVersion(string $path, string $packageName = null) Returns the version of an asset. Parameters string $path A public path string $packageName The name of the asset package to use Return Value string The asset version
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
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()
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
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
bool acceptValue() Returns true if the option accepts a value. Return Value bool true if value mode is not self::VALUE_NONE, false otherwise
Page 110 of 787