PropelTypeGuesser::guessMaxLength()

ValueGuess|null guessMaxLength(string $class, string $property) Returns a guess about the field's maximum length Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value ValueGuess|null A guess for the field's maximum length

NativeSessionStorage::setId()

setId(string $id) Sets the session ID. Parameters string $id

Session::invalidate()

bool invalidate(int $lifetime = null) Invalidates the current session. Clears all session attributes and flashes and regenerates the session and deletes the old session from persistence. Parameters int $lifetime Sets the cookie lifetime for the session cookie. A null value will leave the system settings unchanged, 0 sets the cookie to expire with browser session. Time is in seconds, and is not a Unix timestamp. Return Value bool True if session invalidated, false if error

GlobalVariables::getSession()

Session|null getSession() Returns the current session. Return Value Session|null The session

Translator::cssToXPath()

string cssToXPath(string $cssExpr, string $prefix = 'descendant-or-self::') Translates a CSS selector to an XPath expression. Parameters string $cssExpr string $prefix Return Value string

PassConfig::setBeforeOptimizationPasses()

setBeforeOptimizationPasses(array $passes) Sets the BeforeOptimization passes. Parameters array $passes An array of passes

ClassMetadataFactoryInterface::getMetadataFor()

ClassMetadataInterface getMetadataFor(string|object $value) If the method was called with the same class name (or an object of that class) before, the same metadata instance is returned. If the factory was configured with a cache, this method will first look for an existing metadata instance in the cache. If an existing instance is found, it will be returned without further ado. Otherwise, a new metadata instance is created. If the factory was configured with a loader, the metad

Form::isValid()

bool isValid() Returns whether the form and all children are valid. If the form is not submitted, this method always returns false. Return Value bool

Regex::removeOption()

Regex removeOption(string $option) Parameters string $option Return Value Regex

TranslationExtension::getName()

getName() {@inheritdoc}