RegionBundle::getCountryNames()

string[] getCountryNames(string $displayLocale = null) Returns the names of all known countries. Parameters string $displayLocale Optional. The locale to return the names in. Defaults to {@link \Locale::getDefault()}. Return Value string[] A list of country names indexed by country codes.

CsrfTokenManager::refreshToken()

CsrfToken refreshToken(string $tokenId) Generates a new token value for the given ID. This method will generate a new token for the given token ID, independent of whether a token value previously existed or not. It can be used to enforce once-only tokens in environments with high security needs. Parameters string $tokenId The token ID. You may choose an arbitrary value for the ID Return Value CsrfToken The CSRF token

ContainerAwareTrait

trait ContainerAwareTrait ContainerAware trait. Methods setContainer(ContainerInterface $container = null) Sets the container. Details setContainer(ContainerInterface $container = null) Sets the container. Parameters ContainerInterface $container A ContainerInterface instance or null

ExpressionLanguageProvider

class ExpressionLanguageProvider implements ExpressionFunctionProviderInterface Define some ExpressionLanguage functions. Methods ExpressionFunction[] getFunctions() Details ExpressionFunction[] getFunctions() Return Value ExpressionFunction[] An array of Function instances

AttributeNode::getOperator()

string getOperator() Return Value string

AbstractToken::setAuthenticated()

setAuthenticated($authenticated) Sets the authenticated flag. Parameters $authenticated

CollectionToArrayTransformer

class CollectionToArrayTransformer implements DataTransformerInterface Methods mixed transform(Collection $collection) Transforms a collection into an array. mixed reverseTransform(mixed $array) Transforms choice keys into entities. Details mixed transform(Collection $collection) Transforms a collection into an array. Parameters Collection $collection A collection of entities Return Value mixed The value in the transformed representation E

TreeBuilder::root()

ArrayNodeDefinition|NodeDefinition root(string $name, string $type = 'array', NodeBuilder $builder = null) Creates the root node. Parameters string $name The name of the root node string $type The type of the root node NodeBuilder $builder A custom node builder instance Return Value ArrayNodeDefinition|NodeDefinition The root node (as an ArrayNodeDefinition when the type is 'array') Exceptions RuntimeException When the node type is not supported

Token::getValue()

string getValue() Return Value string

AcceptHeaderItem::setIndex()

AcceptHeaderItem setIndex(int $index) Set the item index. Parameters int $index Return Value AcceptHeaderItem