\App\CoreModule\FormsSignInFormFactory

Sign in form factory

Summary

Methods
Properties
Constants
__construct()
create()
signIn()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$factory
$presenter
$user
N/A

Properties

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\CoreModule\Presenters\SignPresenter

Type

normal — Sign (in|out) presenter

$user

$user : \Nette\Security\User

Type

\Nette\Security\User — User object

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \Nette\Security\User  $user) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\Nette\Security\User $user

User object

Returns

mixed

create()

create(\App\CoreModule\Presenters\SignPresenter  $presenter) : \Nette\Application\UI\Form

Creates sign in form

Parameters

\App\CoreModule\Presenters\SignPresenter $presenter

Sign (in|out) presenter

Returns

\Nette\Application\UI\Form —

Sign in form

signIn()

signIn(\Nette\Application\UI\Form  $form) : void

Signs user in

Parameters

\Nette\Application\UI\Form $form

Sign in form