Bundle\SecurityBundle\EventListener

Classes AclSchemaListener Merges ACL schema into the given schema.

DefaultTranslator deprecated::transChoice()

string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = null) Interpolates the given choice message by choosing a variant according to a number. The variants are passed in the message ID using the format "|". "" is chosen if the passed $number is exactly 1. "" is chosen otherwise. This format is consistent with the format supported by {@link \Symfony\Component\Translation\Translator}, but it does not have the same

SymfonyTestsListener

class SymfonyTestsListener extends PHPUnit_Framework_BaseTestListener Collects and replays skipped tests. Methods __construct(array $mockedNamespaces = array()) __destruct() startTestSuite(PHPUnit_Framework_TestSuite $suite) addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) startTest(PHPUnit_Framework_Test $test) endTest(PHPUnit_Framework_Test $test, $time) Details __construct(array $mockedNamespaces = array(

FormConfigBuilderInterface::setEmptyData()

FormConfigBuilderInterface setEmptyData(mixed $emptyData) Sets the data used for the client data when no value is submitted. Parameters mixed $emptyData The empty data Return Value FormConfigBuilderInterface The configuration object

DataCollectorTranslator::getCatalogue()

MessageCatalogueInterface getCatalogue(string|null $locale = null) Gets the catalogue by locale. Parameters string|null $locale The locale or null to use the default Return Value MessageCatalogueInterface Exceptions InvalidArgumentException If the locale contains invalid characters

FormConfigBuilderInterface::setDataLocked()

FormConfigBuilderInterface setDataLocked(bool $locked) Locks the form's data to the data passed in the configuration. A form with locked data is restricted to the data passed in this configuration. The data can only be modified then by submitting the form. Parameters bool $locked Whether to lock the default data Return Value FormConfigBuilderInterface The configuration object

Locale::setDefaultFallback()

static setDefaultFallback(string $locale) Sets the default fallback locale. The default fallback locale is used as fallback for locales that have no fallback otherwise. Parameters string $locale The default fallback locale See also getFallback()

StructuredBundleReader::read()

mixed read(string $path, string $locale) Reads a resource bundle. Parameters string $path The path to the resource bundle. string $locale The locale to read. Return Value mixed Returns an array or {@link \ArrayAccess} instance for complex data, a scalar value otherwise.

RoutableFragmentRenderer

class RoutableFragmentRenderer implements FragmentRendererInterface Adds the possibility to generate a fragment URI for a given Controller. Methods setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. Details setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. Parameters string $path The path See also FragmentListener

AutoExpireFlashBag::getStorageKey()

string getStorageKey() Gets the storage key for this bag. Return Value string