PdoSessionHandler::isSessionExpired()

bool isSessionExpired() Returns true when the current session exists but expired according to session.gc_maxlifetime. Can be used to distinguish between a new session and one that expired due to inactivity. Return Value bool Whether current session expired

PropertyPath

class PropertyPath Contains utility methods for dealing with property paths. For more extensive functionality, use Symfony's PropertyAccess component. Methods static string append(string $basePath, string $subPath) Appends a path to a given property path. Details static string append(string $basePath, string $subPath) Appends a path to a given property path. If the base path is empty, the appended path will be returned unchanged. If the base pat

InMemoryUserProvider::supportsClass()

bool supportsClass(string $class) Whether this provider supports the given user class. Parameters string $class Return Value bool

ValidatorTypeGuesser::guessRequired()

ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required. Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value ValueGuess A guess for the field's required setting

DayOfYearTransformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

FormRendererEngineInterface::setTheme()

setTheme(FormView $view, mixed $themes) Sets the theme(s) to be used for rendering a view and its children. Parameters FormView $view The view to assign the theme(s) to mixed $themes The theme(s). The type of these themes is open to the implementation.

ExpressionLanguage

class ExpressionLanguage Allows to compile and evaluate expressions written in your own DSL. Methods __construct(ParserCacheInterface $cache = null, array $providers = array()) string compile(Expression|string $expression, array $names = array()) Compiles an expression source code. string evaluate(Expression|string $expression, array $values = array()) Evaluate an expression. ParsedExpression parse(Expression|string $expression, array $names) Parses an expression. re

PreAuthenticationGuardToken

class PreAuthenticationGuardToken extends AbstractToken implements GuardTokenInterface The token used by the guard auth system before authentication. The GuardAuthenticationListener creates this, which is then consumed immediately by the GuardAuthenticationProvider. If authentication is successful, a different authenticated token is returned Methods __construct(mixed $credentials, string $guardProviderKey) RoleInterface[] getRoles() Returns the user roles. from AbstractToken stri

MetadataInterface deprecated::accept()

accept(ValidationVisitorInterface $visitor, mixed $value, string|string[] $group, string $propertyPath) deprecated deprecated since version 2.5, to be removed in 3.0. Implementation of the Visitor design pattern. Calls {@link ValidationVisitorInterface::visit} and then forwards the accept()-call to all property metadata instances. Parameters ValidationVisitorInterface $visitor The visitor implementing the validation logic mixed $value The value to validate string|string[] $group

FormFactoryInterface::createForProperty()

FormInterface createForProperty(string $class, string $property, mixed $data = null, array $options = array()) Returns a form for a property of a class. Parameters string $class The fully qualified class name string $property The name of the property to guess for mixed $data The initial data array $options The options for the builder Return Value FormInterface The form named after the property Exceptions InvalidOptionsException if any given option is not applicable to the form