StopwatchNode

class StopwatchNode extends Twig_Node Represents a stopwatch node. Methods __construct(Twig_Node $name, Twig_Node $body, Twig_Node_Expression_AssignName $var, $lineno, $tag = null) compile(Twig_Compiler $compiler) Details __construct(Twig_Node $name, Twig_Node $body, Twig_Node_Expression_AssignName $var, $lineno, $tag = null) Parameters Twig_Node $name Twig_Node $body Twig_Node_Expression_AssignName $var $lineno $tag

TranslationDataCollector::lateCollect()

lateCollect() Collects data as late as possible.

FileBinaryMimeTypeGuesser

class FileBinaryMimeTypeGuesser implements MimeTypeGuesserInterface Guesses the mime type with the binary "file" (only available on *nix). Methods __construct(string $cmd = 'file -b --mime %s 2>/dev/null') Constructor. static bool isSupported() Returns whether this guesser is supported on the current OS. string guess(string $path) Guesses the mime type of the file with the given path. Details __construct(string $cmd = 'file -b --mime %s 2>

Request::initialize()

initialize(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), string|resource $content = null) Sets the parameters for this request. This method also re-initializes all properties. Parameters array $query The GET parameters array $request The POST parameters array $attributes The request attributes (parameters parsed from the PATH_INFO, ...) array $cookies The COOKIE parameters ar

AbstractRendererEngine::getResourceHierarchyLevel()

int|bool getResourceHierarchyLevel(FormView $view, array $blockNameHierarchy, int $hierarchyLevel) Returns the hierarchy level at which a resource can be found. A block hierarchy is an array which starts with the root of the hierarchy and continues with the child of that root, the child of that child etc. The following is an example for a block hierarchy: formwidget textwidget url_widget The second parameter $hierarchyLevel determines the level of the hierarchy that should be r

Configuration

class Configuration implements ConfigurationInterface TwigExtension configuration structure. Methods TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Details TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Return Value TreeBuilder The tree builder

ConsoleEvent::getCommand()

Command getCommand() Gets the command that is executed. Return Value Command A Command instance

Component\Validator\Constraints

Namespaces Symfony\Component\Validator\Constraints\Collection Classes AbstractComparison Used for the comparison of values. AbstractComparisonValidator Provides a base class for the validation of property comparisons. All AllValidator Blank BlankValidator Callback CallbackValidator Validator for Callback constraint CardScheme Metadata for the CardSchemeValidator. CardSchemeValidator Validates that a card number belongs to a specified scheme. Choice

OutputFormatterStyle

class OutputFormatterStyle implements OutputFormatterStyleInterface Formatter style class for defining styles. Methods __construct(string|null $foreground = null, string|null $background = null, array $options = array()) Initializes output formatter style. setForeground(string $color = null) Sets style foreground color. setBackground(string $color = null) Sets style background color. setOption(string $option) Sets some specific style option. unsetOption(string $option

SessionHelper

class SessionHelper extends Helper SessionHelper provides read-only access to the session attributes. Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(RequestStack $requestStack) mixed get(string $name, mixed $default = null) Returns an attribute. getFlash($name, array $default = array()) getFlashes() hasFlash($name) string getName() Returns the canonical na