Ssi::renderIncludeTag()

string renderIncludeTag(string $uri, string $alt = null, bool $ignoreErrors = true, string $comment = '') Renders a Surrogate tag. Parameters string $uri A URI string $alt An alternate URI bool $ignoreErrors Whether to ignore errors or not string $comment A comment to add as an esi:include tag Return Value string

Dumper::setIndentation()

setIndentation(int $num) Sets the indentation. Parameters int $num The amount of spaces to use for indentation of nested nodes

MergeExtensionConfigurationPass

class MergeExtensionConfigurationPass extends MergeExtensionConfigurationPass Ensures certain extensions are always loaded. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. __construct(array $extensions) Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

MessageCatalogue::add()

add(array $messages, string $domain = 'messages') Adds translations for a given domain. Parameters array $messages An array of translations string $domain The domain name

Component\Form\Extension\Validator\ViolationMapper

Classes MappingRule RelativePath ViolationMapper ViolationPath ViolationPathIterator Interfaces ViolationMapperInterface

MockFileSessionStorage::save()

save() Force the session to be saved and closed. This method must invoke sessionwriteclose() unless this interface is used for a storage object design for unit or functional testing where a real PHP session would interfere with testing, in which case it should actually persist the session data if required. Exceptions RuntimeException If the session is saved without being started, or if the session is already closed.

Kernel::getName()

string getName() Gets the name of the kernel. Return Value string The kernel name

Intl::getIcuDataVersion()

static string getIcuDataVersion() Returns the version of the installed ICU data. Return Value string The version of the installed ICU data

Interval::test()

static bool test(int $number, string $interval) Tests if the given number is in the math interval. Parameters int $number A number string $interval An interval Return Value bool Exceptions InvalidArgumentException

Response::getMaxAge()

int|null getMaxAge() Returns the number of seconds after the time specified in the response's Date header when the response should no longer be considered fresh. First, it checks for a s-maxage directive, then a max-age directive, and then it falls back on an expires header. It returns null when no maximum age can be established. Return Value int|null Number of seconds