DataCollector\TranslationDataCollector (Component\Translation)
Symfony\Component\Translation\DataCollector\TranslationDataCollector
class TranslationDataCollector extends DataCollector implements LateDataCollectorInterface
Methods
serialize() | from DataCollector | |
unserialize($data) | from DataCollector | |
__construct(DataCollectorTranslator $translator) | ||
lateCollect() Collects data as late as possible. | ||
collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. | ||
array | getMessages() | |
int | getCountMissings() | |
int | getCountFallbacks() | |
int | getCountDefines() | |
string | getName() Returns the name of the collector. |
Details
public serialize()
public unserialize($data)
public __construct(DataCollectorTranslator $translator)
public lateCollect()
Collects data as late as possible.
public collect(Request $request, Response $response, Exception $exception = null)
Collects data for the given Request and Response.
public array getMessages()
public int getCountMissings()
public int getCountFallbacks()
public int getCountDefines()
public string getName()
Returns the name of the collector.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Translation/DataCollector/TranslationDataCollector.html