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

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

TwigRendererEngine::setEnvironment()

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

CacheItem::getKey()

getKey() {@inheritdoc}

Request::getPort()

string getPort() Returns the port on which the request is made. This method can read the client port from the "X-Forwarded-Port" header when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-Port" header must contain the client port. If your reverse proxy uses a different header name than "X-Forwarded-Port", configure it via "setTrustedHeaderName()" with the "client-port" key. Return Value string

IntlDateFormatter::setCalendar()

bool setCalendar(string $calendar) Not supported. Set the formatter's calendar. Parameters string $calendar The calendar to use. Default is IntlDateFormatter::GREGORIAN Return Value bool true on success or false on failure Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/intldateformatter.setcalendar.php

ChoiceList deprecated::getChoices()

array getChoices() Returns the list of choices. Return Value array The choices with their indices as keys

ConstraintValidator

class ConstraintValidator implements ConstraintValidatorInterface Base class for constraint validators. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. Details initialize(ExecutionContextInterface $context) Init

Router::getMatcher()

UrlMatcherInterface getMatcher() Gets the UrlMatcher instance associated with this Router. Return Value UrlMatcherInterface A UrlMatcherInterface instance

PhpStringTokenParser

class PhpStringTokenParser Methods static string parse(string $str) Parses a string token. static string parseEscapeSequences(string $str, null|string $quote) Parses escape sequences in strings (all string types apart from single quoted). static string parseDocString(string $startToken, string $str) Parses a constant doc string. Details static string parse(string $str) Parses a string token. Parameters string $str String token content