Request::getEncodings()

array getEncodings() Gets a list of encodings acceptable by the client browser. Return Value array List of encodings in preferable order

SessionInterface

interface SessionInterface Interface for the session. Methods bool start() Starts the session storage. string getId() Returns the session ID. setId(string $id) Sets the session ID. mixed getName() Returns the session name. setName(string $name) Sets the session name. bool invalidate(int $lifetime = null) Invalidates the current session. bool migrate(bool $destroy = false, int $lifetime = null) Migrates the current session to a new session id while maintainin

Token::isDelimiter()

bool isDelimiter(array $values = array()) Parameters array $values Return Value bool

ChoiceListInterface deprecated::getIndicesForValues()

array getIndicesForValues(array $values) deprecated deprecated since version 2.4, to be removed in 3.0. Returns the indices corresponding to the given values. The indices must be positive integers or strings accepted by {@link \Symfony\Component\Form\FormConfigBuilder::validateName()}. The index "placeholder" is internally reserved. The indices must be returned with the same keys and in the same order as the corresponding values in the given array. Parameters array $values A

IsFalse

class IsFalse extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_FALSE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message Methods static stri

ConsoleEvent::getInput()

InputInterface getInput() Gets the input instance. Return Value InputInterface An InputInterface instance

Table::setRows()

setRows(array $rows) Parameters array $rows

FormRenderer::humanize()

string humanize(string $text) Makes a technical name human readable. Sequences of underscores are replaced by single spaces. The first letter of the resulting string is capitalized, while all other letters are turned to lowercase. Parameters string $text The text to humanize Return Value string The humanized text

Parser

class Parser Parser parses YAML strings to convert them to PHP arrays. Constants TAG_PATTERN BLOCK_SCALAR_HEADER_PATTERN Methods __construct(int $offset, int|null $totalNumberOfLines = null, array $skippedLineNumbers = array()) Constructor. mixed parse(string $value, int $flags) Parses a YAML string to a PHP value. Details __construct(int $offset, int|null $totalNumberOfLines = null, array $skippedLineNumbers = array()) Construc

LockHandler::lock()

bool lock(bool $blocking = false) Lock the resource. Parameters bool $blocking wait until the lock is released Return Value bool Returns true if the lock was acquired, false otherwise Exceptions IOException If the lock file could not be created or opened