Locale

class Locale extends Locale Provides access to locale-related data. Methods static setDefaultFallback(string $locale) Sets the default fallback locale. static string getDefaultFallback() Returns the default fallback locale. static string|null getFallback(string $locale) Returns the fallback locale for a given locale. Details static setDefaultFallback(string $locale) Sets the default fallback locale. The default fallback locale is used

Kernel::locateResource()

string|array locateResource(string $name, string $dir = null, bool $first = true) Returns the file path for a given resource. A Resource can be a file or a directory. The resource name must follow the following pattern: "@BundleName/path/to/a/file.something" where BundleName is the name of the bundle and the remaining part is the relative path in the bundle. If $dir is passed, and the first segment of the path is "Resources", this method will look for a file named: $dir/<Bund

Locale deprecated::getIntlIcuDataVersion()

static string|null getIntlIcuDataVersion() Returns the ICU Data version as defined by the intl extension. Return Value string|null The ICU Data version

Collection::getIterator()

getIterator()

Event::isPropagationStopped()

bool isPropagationStopped() Returns whether further event listeners should be triggered. Return Value bool Whether propagation was already stopped for this event See also Event::stopPropagation()

SecurityDataCollector::getVoters()

string[] getVoters() Returns the FQCN of the security voters enabled in the application. Return Value string[]

Kernel::getCharset()

string getCharset() Gets the charset of the application. Return Value string The charset

PropertyMetadata

class PropertyMetadata extends MemberMetadata Stores all metadata needed for validating a class property. The value of the property is obtained by directly accessing the property. The property will be accessed by reflection, so the access of private and protected properties is supported. This class supports serialization and cloning. Properties Constraint[] $constraints from GenericMetadata array $constraintsByGroup from GenericMetadata int $cascadingStrategy The strategy for cascad

ContainerBuilder::findUnusedTags()

string[] findUnusedTags() Returns all tags not queried by findTaggedServiceIds. Return Value string[] An array of tags

ParameterBag::replace()

replace(array $parameters = array()) Replaces the current parameters by a new set. Parameters array $parameters An array of parameters