SecurityContextInterface deprecated

interface SecurityContextInterface implements TokenStorageInterface, AuthorizationCheckerInterface deprecated since version 2.6, to be removed in 3.0. The SecurityContextInterface. Constants ACCESS_DENIED_ERROR AUTHENTICATION_ERROR LAST_USERNAME Methods TokenInterface|null getToken() Returns the current security token. from TokenStorageInterface setToken(TokenInterface $token = null) Sets the authentication token. from TokenStorageInterface bool isGranted(mixed

InputOption

class InputOption Represents a command line option. Constants VALUE_NONE VALUE_REQUIRED VALUE_OPTIONAL VALUE_IS_ARRAY Methods __construct(string $name, string|array $shortcut = null, int $mode = null, string $description = '', mixed $default = null) Constructor. string getShortcut() Returns the option shortcut. string getName() Returns the option name. bool acceptValue() Returns true if the option accepts a value. bool isValueRequired() Returns true

MessageCatalogue::getFallbackCatalogue()

MessageCatalogueInterface|null getFallbackCatalogue() Gets the fallback catalogue. Return Value MessageCatalogueInterface|null A MessageCatalogueInterface instance or null when no fallback has been set

DefaultTranslator deprecated

class DefaultTranslator implements TranslatorInterface deprecated since version 2.7, to be removed in 3.0. Use Symfony\Component\Translation\IdentityTranslator instead. Simple translator implementation that simply replaces the parameters in the message IDs. Example usage: $translator = new DefaultTranslator(); echo $translator->trans( 'This is a {{ var }}.', array('{{ var }}' => 'donkey') ); // -> This is a donkey. echo $translator->transChoice( 'This is {{ cou

AuthenticationEvents

class AuthenticationEvents Constants AUTHENTICATION_SUCCESS The AUTHENTICATION_SUCCESS event occurs after a user is authenticated by one provider. AUTHENTICATION_FAILURE The AUTHENTICATION_FAILURE event occurs after a user cannot be authenticated by any of the providers.

TemplateCacheCacheWarmer::warmUp()

warmUp(string $cacheDir) Warms up the cache. Parameters string $cacheDir The cache directory

Regex::getDefaultOption()

string getDefaultOption() Returns the name of the default option. Override this method to define a default option. Return Value string

Composite

class Composite extends Constraint A constraint that is composed of other constraints. You should never use the nested constraint instances anywhere else, because their groups are adapted when passed to the constructor of this class. If you want to create your own composite constraint, extend this class and let {@link getCompositeOption()} return the name of the property which contains the nested constraints. Constants DEFAULT_GROUP The name of the group given to all constraints with no ex

CsrfToken::getId()

string getId() Returns the ID of the CSRF token. Return Value string The token ID

VarDumperTestTrait::assertDumpEquals()

assertDumpEquals($dump, $data, $message = '') Parameters $dump $data $message