InstallApplication
class InstallApplication extends ApplicationTrait
Methods
Creates and returns a form builder instance
Adds a log record.
Encodes the raw password.
Checks if the attributes are granted against the current authentication token and optionally supplied object.
Sends an email.
Translates the given message.
Translates the given choice message by choosing a translation according to a number.
Renders a view and returns a Response.
Generates a path from the given parameters.
Generates an absolute URL from the given parameters.
No description
Details
        in ApplicationTrait at         line 21
                            
    addSuccess($message, $namespace = 'front')
        
    
    Application Shortcut Methods
        in ApplicationTrait at         line 26
                            
    addError($message, $namespace = 'front')
        
    
    
        in ApplicationTrait at         line 31
                            
    addDanger($message, $namespace = 'front')
        
    
    
        in ApplicationTrait at         line 36
                            
    addWarning($message, $namespace = 'front')
        
    
    
        in ApplicationTrait at         line 41
                            
    addInfo($message, $namespace = 'front')
        
    
    
        in ApplicationTrait at         line 46
                            
    addRequestError($message, $namespace = 'front')
        
    
    
        in ApplicationTrait at         line 51
                            
    clearMessage()
        
    
    
        in ApplicationTrait at         line 56
                            
    deleteMessage()
        
    
    
        in ApplicationTrait at         line 62
                            
    setLoginTargetPath($targetPath, $namespace = null)
        
    
    
        in ApplicationTrait at         line 71
                            
    isAdminRequest()
        
    
    
        in ApplicationTrait at         line 76
                            
    isFrontRequest()
        
    
    
        in ApplicationTrait at         line 101
                            FormBuilder
    form(mixed $data = null, array $options = array())
        
    
    Creates and returns a form builder instance
        in ApplicationTrait at         line 116
                            bool
    log(string $message, array $context = array(), int $level = Logger::INFO)
        
    
    Adds a log record.
        in ApplicationTrait at         line 130
                            mixed
    user()
        
    
    Gets a user from the Security context.
        in ApplicationTrait at         line 145
                            string
    encodePassword(UserInterface $user, string $password)
        
    
    Encodes the raw password.
        in ApplicationTrait at         line 160
                            bool
    isGranted(mixed $attributes, mixed $object = null)
        
    
    Checks if the attributes are granted against the current authentication token and optionally supplied object.
        in ApplicationTrait at         line 174
                            int
    mail(Swift_Message $message, array $failedRecipients = null)
        
    
    Sends an email.
        in ApplicationTrait at         line 190
                            string
    trans(string $id, array $parameters = array(), string $domain = 'messages', string $locale = null)
        
    
    Translates the given message.
        in ApplicationTrait at         line 206
                            string
    transChoice(string $id, int $number, array $parameters = array(), string $domain = 'messages', string $locale = null)
        
    
    Translates the given choice message by choosing a translation according to a number.
        in ApplicationTrait at         line 223
                            Response
    render(string $view, array $parameters = array(), Response $response = null)
        
    
    Renders a view and returns a Response.
To stream a view, pass an instance of StreamedResponse as a third argument.
        in ApplicationTrait at         line 271
                            string
    renderView(string $view, array $parameters = array())
        
    
    Renders a view.
        in ApplicationTrait at         line 285
                            string
    path(string $route, mixed $parameters = array())
        
    
    Generates a path from the given parameters.
        in ApplicationTrait at         line 298
                            string
    url(string $route, mixed $parameters = array())
        
    
    Generates an absolute URL from the given parameters.