LabelFormatter
class LabelFormatter implements FormatterInterface (View source)
Properties
| protected LoggerInterface | $logger | 
Methods
                    __construct(LoggerInterface $logger)
        
                                            
                
            No description
                    mixed
                
                
                    format($mask, callable $matchHandler)
        
                                            
                
            Format a mask using the standard format given a callable
                    string
                
                
                    getResult($key, callable $matchHandler)
        
                                            
                
            Get a result given a key
Details
        
                            
    __construct(LoggerInterface $logger)
        
    
    No description
        
                            mixed
    format($mask, callable $matchHandler)
        
    
    Format a mask using the standard format given a callable
Ex: if you have attributes with handles student_first_name and student_last_name
%student_last_name%, %student_first_name%
        
                        private    string
    getResult($key, callable $matchHandler)
        
    
    Get a result given a key