Table::addRows()

addRows(array $rows) Parameters array $rows

ChoiceFormField::availableOptionValues()

array availableOptionValues() Returns list of available field options. Return Value array

NodeDefinition::isRequired()

NodeDefinition|$this isRequired() Sets the node as required. Return Value NodeDefinition|$this

PreAuthenticatedToken::getProviderKey()

string getProviderKey() Returns the provider key. Return Value string The provider key

NodeDefinition::treatTrueLike()

NodeDefinition|$this treatTrueLike(mixed $value) Sets the equivalent value used when the node contains true. Parameters mixed $value Return Value NodeDefinition|$this

UrlGenerator::getRelativePath()

static string getRelativePath(string $basePath, string $targetPath) Returns the target path as relative reference from the base path. Only the URIs path component (no schema, host etc.) is relevant and must be given, starting with a slash. Both paths must be absolute and not contain relative parts. Relative URLs from one resource to another are useful when generating self-contained downloadable document archives. Furthermore, they can be used to reduce the link size in

SerializerPass

class SerializerPass implements CompilerPassInterface Adds all services with the tags "serializer.encoder" and "serializer.normalizer" as encoders and normalizers to the Serializer service. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $co

ConstraintValidatorInterface

interface ConstraintValidatorInterface Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Details initialize(ExecutionContextInterface $context) Initializes the constraint validator. Parameters ExecutionContextInterface $context The current validation context validate(mixed $value, Co

RegionBundleInterface::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

TwigRendererEngine::setEnvironment()

setEnvironment(Twig_Environment $environment) Sets Twig's environment. Parameters Twig_Environment $environment