Component\DependencyInjection\Extension

Classes Extension Provides useful features shared by many extensions. Interfaces ConfigurationExtensionInterface ConfigurationExtensionInterface is the interface implemented by container extension classes. ExtensionInterface ExtensionInterface is the interface implemented by container extension classes. PrependExtensionInterface

StubIntl deprecated

class StubIntl extends IntlGlobals deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\Globals\IntlGlobals} instead. Alias of {@link \Symfony\Component\Intl\Globals\IntlGlobals}. Constants U_ZERO_ERROR Indicates that no error occurred. U_ILLEGAL_ARGUMENT_ERROR Indicates that an invalid argument was passed. U_PARSE_ERROR Indicates that the parse() operation failed. Methods static bool isFailure(int $errorCode) Returns whether the error cod

InputFormField

class InputFormField extends FormField InputFormField represents an input form field (an HTML input tag). For inputs with type of file, checkbox, or radio, there are other more specialized classes (cf. FileFormField and ChoiceFormField). Methods __construct(DOMElement $node) Constructor. from FormField string getName() Returns the name of the field. from FormField string|array getValue() Gets the value of the field. from FormField setValue(string $value) Sets the value of the

AdvancedUserInterface::isCredentialsNonExpired()

bool isCredentialsNonExpired() Checks whether the user's credentials (password) has expired. Internally, if this method returns false, the authentication system will throw a CredentialsExpiredException and prevent login. Return Value bool true if the user's credentials are non expired, false otherwise See also CredentialsExpiredException

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

HtmlExtension::translateInvalid()

XPathExpr translateInvalid(XPathExpr $xpath) Parameters XPathExpr $xpath Return Value XPathExpr