Response::getCharset()

string getCharset() Retrieves the response charset. Return Value string Character set

AutoExpireFlashBag::add()

add(string $type, string $message) Adds a flash message for type. Parameters string $type string $message

OrderedHashMapIterator::key()

key() {@inheritdoc}

Component\Translation\Extractor

Classes ChainExtractor ChainExtractor extracts translation messages from template files. Interfaces ExtractorInterface Extracts translation messages from a template directory to the catalogue.

Finder::size()

Finder|SplFileInfo[] size(string $size) Adds tests for file sizes. $finder->size('> 10K'); $finder->size('<= 1Ki'); $finder->size(4); Parameters string $size A size range string Return Value Finder|SplFileInfo[] The current Finder instance See also SizeRangeFilterIterator NumberComparator

MemoryDataCollector

class MemoryDataCollector extends DataCollector implements LateDataCollectorInterface MemoryDataCollector. Methods serialize() from DataCollector unserialize($data) from DataCollector __construct() collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. lateCollect() Collects data as late as possible. int getMemory() Gets the memory. int getMemoryLimit() Gets the PHP memory limit. upd

Definition::setFile()

Definition setFile(string $file) Sets a file to require before creating the service. Parameters string $file A full pathname to include Return Value Definition The current instance

PhpEngine::setCharset()

setCharset(string $charset) Sets the charset to use. Parameters string $charset The charset

Container::underscore()

static string underscore(string $id) A string to underscore. Parameters string $id The string to underscore Return Value string The underscored string

Crawler::filterXPath()

Crawler filterXPath(string $xpath) Filters the list of nodes with an XPath expression. The XPath expression is evaluated in the context of the crawler, which is considered as a fake parent of the elements inside it. This means that a child selector "div" or "./div" will match only the div elements of the current crawler, not their children. Parameters string $xpath An XPath expression Return Value Crawler A new instance of Crawler with the filtered list of nodes