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

Form::getPhpFiles()

array getPhpFiles() Gets the file field values as PHP. This method converts fields with the array notation (like foo[bar] to arrays) like PHP does. The returned array is consistent with the array for field values (see getPhpValues), rather than uploaded files found in $FILES. For a compound file field foo[bar] it will create foo[bar][name], instead of foo[name][bar] which would be found in $FILES. Return Value array An array of file field values

DoctrineOrmTypeGuesser::guessType()

TypeGuess|null guessType(string $class, string $property) Returns a field guess for a property name of a class. Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value TypeGuess|null A guess for the field's type and options