ResponseFormFactory
extends BaseComponentFactory
in package
FinalYes
Table of Contents
Properties
- $appContext : AppContext
- $control : BaseComponent|null
- $currencyManager : CurrencyManager
- $eventDispatcher : EventDispatcher
- $modalRegistry : ModalRegistry
- $responseManager : ResponseManager
- $userManager : UserManager
Methods
- __construct() : mixed
- create() : ResponseForm
- getAppContext() : AppContext
- getControl() : BaseComponent
- initControl() : void
- initializeAllContexts() : void
- setAppContext() : $this
- initialized() : T
- Stores the component as `$control`, initializes it and returns it with its concrete type (so `create(): Cart` does not return the generic `?BaseComponent` property).
Properties
$appContext
protected
AppContext
$appContext
$control
protected
BaseComponent|null
$control
= null
$currencyManager read-only
private
CurrencyManager
$currencyManager
$eventDispatcher read-only
private
EventDispatcher
$eventDispatcher
$modalRegistry read-only
private
ModalRegistry
$modalRegistry
$responseManager read-only
private
ResponseManager
$responseManager
$userManager read-only
private
UserManager
$userManager
Methods
__construct()
public
__construct(ResponseManager $responseManager, CurrencyManager $currencyManager, ModalRegistry $modalRegistry, EventDispatcher $eventDispatcher, UserManager $userManager) : mixed
Parameters
- $responseManager : ResponseManager
- $currencyManager : CurrencyManager
- $modalRegistry : ModalRegistry
- $eventDispatcher : EventDispatcher
- $userManager : UserManager
create()
public
create() : ResponseForm
Return values
ResponseFormgetAppContext()
public
getAppContext() : AppContext
Return values
AppContextgetControl()
public
getControl() : BaseComponent
Return values
BaseComponentinitControl()
public
initControl() : void
initializeAllContexts()
public
initializeAllContexts() : void
setAppContext()
public
setAppContext(AppContext $appContext) : $this
Parameters
- $appContext : AppContext
Return values
$thisinitialized()
Stores the component as `$control`, initializes it and returns it with its concrete type (so `create(): Cart` does not return the generic `?BaseComponent` property).
protected
initialized(T $control) : T
Parameters
- $control : T