PHP Class App\Modules\Users\Controllers\Registrar

Inheritance: extends App\Core\BackendController
Mostrar archivo Open project: nova-framework/framework

Protected Properties

Property Type Description
$layout

Public Methods

Method Description
create ( ) : Core\View Display the register view.
createNewToken ( string $email ) : string Create a new Token for the User.
status ( )
store ( ) : Response Handle a POST request to login the User.
verify ( $token ) : Response Display the password reminder view.

Protected Methods

Method Description
validate ( array $data )

Method Details

create() public method

Display the register view.
public create ( ) : Core\View
return Core\View

createNewToken() public method

Create a new Token for the User.
public createNewToken ( string $email ) : string
$email string
return string

status() public method

public status ( )

store() public method

Handle a POST request to login the User.
public store ( ) : Response
return Response

validate() protected method

protected validate ( array $data )
$data array

verify() public method

Display the password reminder view.
public verify ( $token ) : Response
return Response

Property Details

$layout protected_oe property

protected $layout