Application
class Application extends Application
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Application Shortcut Methods
No description
No description
No description
No description
No description
Creates and returns a form builder instance
Adds a log record.
Gets a user from the Security Context.
Encodes the raw password.
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.
Renders a view.
Generates a path from the given parameters.
Generates an absolute URL from the given parameters.
Details
at line 43
__construct(array $values = array())
at line 54
initialize()
at line 111
initializePlugin()
at line 120
initConfig()
at line 180
initLogger()
at line 207
initSession()
at line 212
initLocale()
at line 225
initRendering()
at line 307
initMailer()
at line 324
initDoctrine()
at line 373
initPluginEventDispatcher()
at line 405
loadPlugin()
at line 477
initSecurity()
at line 553
addSuccess($message, $namespace = 'front')
Application Shortcut Methods
at line 558
addError($message, $namespace = 'front')
at line 563
addDanger($message, $namespace = 'front')
at line 568
addWarning($message, $namespace = 'front')
at line 573
addInfo($message, $namespace = 'front')
at line 578
addRequestError($message, $namespace = 'front')
at line 601
FormBuilder
form(mixed $data = null, array $options = array())
Creates and returns a form builder instance
at line 616
bool
log(string $message, array $context = array(), int $level = Logger::INFO)
Adds a log record.
at line 629
mixed
user()
Gets a user from the Security Context.
at line 652
string
encodePassword(UserInterface $user, string $password)
Encodes the raw password.
at line 666
int
mail(Swift_Message $message, array $failedRecipients = null)
Sends an email.
at line 682
string
trans(string $id, array $parameters = array(), string $domain = 'messages', string $locale = null)
Translates the given message.
at line 698
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.
at line 715
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.
at line 741
Response
renderView(string $view, array $parameters = array())
Renders a view.
at line 755
string
path(string $route, mixed $parameters = array())
Generates a path from the given parameters.
at line 768
string
url(string $route, mixed $parameters = array())
Generates an absolute URL from the given parameters.