SecurityDataCollector::getTokenClass()

string getTokenClass() Get the class name of the security token. Return Value string The token

PropelTypeGuesser

class PropelTypeGuesser implements FormTypeGuesserInterface Propel Type guesser. Methods TypeGuess|null guessType(string $class, string $property) Returns a field guess for a property name of a class ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required ValueGuess|null guessMaxLength(string $class, string $property) Returns a guess about the field's maximum length ValueGuess|null guessPattern(string $class, stri

YamlDumper

class YamlDumper extends Dumper YamlDumper dumps a service container as a YAML string. Methods __construct(ContainerBuilder $container) from Dumper string dump(array $options = array()) Dumps the service container as an YAML string. Details __construct(ContainerBuilder $container) Parameters ContainerBuilder $container The service container to dump string dump(array $options = array()) Dumps the s

Definition::setProperty()

setProperty($name, $value) Parameters $name $value

Cookie::fromString()

static Cookie fromString(string $cookie, string $url = null) Creates a Cookie instance from a Set-Cookie header value. Parameters string $cookie A Set-Cookie header value string $url The base URL Return Value Cookie A Cookie instance Exceptions InvalidArgumentException

CacheItem::validateKey()

static validateKey(string $key) Validates a cache key according to PSR-6. Parameters string $key The key to validate Exceptions InvalidArgumentException When $key is not valid.

Response::setMaxAge()

Response setMaxAge(int $value) Sets the number of seconds after which the response should no longer be considered fresh. This methods sets the Cache-Control max-age directive. Parameters int $value Number of seconds Return Value Response

Expression

class Expression implements ValueInterface Constants TYPE_REGEX TYPE_GLOB Methods static Expression create(string $expr) __construct(string $expr) string __toString() string render() Renders string representation of expression. string renderPattern() Renders string representation of pattern. bool isCaseSensitive() int getType() ValueInterface prepend(string $expr) ValueInterface append(string $expr) bool isRegex() bool isG

ModelChoiceList::getChoicesForValues()

array getChoicesForValues(array $values) Returns the choices corresponding to the given values. The choices can have any data type. The choices must be returned with the same keys and in the same order as the corresponding values in the given array. Parameters array $values An array of choice values. Not existing values in this array are ignored Return Value array An array of choices with ascending, 0-based numeric keys

Process::addErrorOutput()

addErrorOutput(string $line) Adds a line to the STDERR stream. Parameters string $line The line to append