TranslatorCollector
class TranslatorCollector extends DataCollector implements Renderable, AssetProvider
This class collects the translations
Properties
| static protected Translator | $translator | Translation engine | |
| protected array | $translations | Array containing the translations | 
Methods
Returns the unique name of the collector
Returns a hash where keys are control names and their values an array of options as defined in {see DebugBar\JavascriptRenderer::addControl()}
Returns the needed assets
Called by the DebugBar when data needs to be collected
Add a translation key to the collector
Details
                        at line 40
                        
                            __construct(Translator
                            $translator)
                        
                    
                    TranslationCollector constructor.
                        at line 51
                         string
                            getName()
                        
                    
                    Returns the unique name of the collector
                        at line 62
                         array
                            getWidgets()
                        
                    
                    Returns a hash where keys are control names and their values an array of options as defined in {see DebugBar\JavascriptRenderer::addControl()}
                        at line 84
                         array
                            getAssets()
                        
                    
                    Returns the needed assets
                        at line 97
                         array
                            collect()
                        
                    
                    Called by the DebugBar when data needs to be collected
                        at line 110
                         private
                            addTranslations()
                        
                    
                    Add a translation key to the collector