CodeHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

FormConfigBuilder::getRequired()

bool getRequired() Returns whether the form is required. Return Value bool Whether the form is required

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

PassConfig::setBeforeOptimizationPasses()

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

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

GlobalVariables::getSession()

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

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

NativeSessionStorage::setId()

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

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

TranslationCollectionFormListener

class TranslationCollectionFormListener implements EventSubscriberInterface listener class for propel1translatablecollection Methods __construct($languages, $i18nClass) static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. preSetData(FormEvent $event) Details __construct($languages, $i18nClass) Parameters $languages $i18nClass static array getSubscrib