TwigEngine
classe TwigEngine étends EngineAbstract (Voir la source)
Constantes
| protected HELPERS | 
                     The helper lists  | 
            
Propriétés
| protected string | $name | The engine name  | 
                |
| protected array | $config | The configuration loader  | 
                depuis EngineAbstract | 
Méthodes
                    string
                
                
                    render(string $filename, array $data = [])
        
                                            
                
            Make template rendering
                    string
                
                
                    checkParseFile(string $filename, bool $extended = true)
        
                                            
                Check the parsed file
depuis 
EngineAbstract
            
                    void
                
                
                    __construct(array $config)
        
                                            
                
            TwigEngine constructor.
                    Environment
                
                
                    getTemplate()
        
                                            
                
            The get engine instance
Détails
        
                            string
    render(string $filename, array $data = [])
        
    
    Make template rendering
        
                    protected        string
    checkParseFile(string $filename, bool $extended = true)
        
    
    Check the parsed file
        
                            string
    getName()
        
    
    Get the engine name
        
                            bool
    fileExists(string $filename)
        
    
    Check if the define file exists
        
                            void
    __construct(array $config)
        
    
    TwigEngine constructor.
        
                            Environment
    getTemplate()
        
    
    The get engine instance