PHP Class Sulu\Bundle\AdminBundle\Controller\SecurityController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
显示文件 Open project: sulu/sulu

Public Methods

Method Description
loginAction ( Request $request ) : Response Renders the login template.
resetAction ( string $token ) : Response Renders the reset-password template.

Protected Methods

Method Description
getTemplate ( ) : string Returns template for environment.

Private Methods

Method Description
getParameters ( ) : array Returns twig parameters.

Method Details

getTemplate() protected method

Returns template for environment.
protected getTemplate ( ) : string
return string

loginAction() public method

Renders the login template.
public loginAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

resetAction() public method

Renders the reset-password template.
public resetAction ( string $token ) : Response
$token string the reset token
return Symfony\Component\HttpFoundation\Response