DashboardAttentionFactory
extends BaseComponentFactory
in package
Factory for {@see DashboardAttention}.
Takes many managers because the band reaches across modules.
Table of Contents
Properties
- $apiClientManager : ApiClientManager
- $appContext : AppContext
- $bazaarAdvertManager : AdvertManager
- $bazaarResponseManager : ResponseManager
- $comcatAdvertManager : AdvertManager
- $comcatResponseManager : ResponseManager
- $commentManager : CommentManager
- $complaintManager : ComplaintManager
- $control : BaseComponent|null
- $emailQueueManager : EmailQueueManager
- $invoiceManager : InvoiceManager
- $orderManager : OrderManager
- $paymentManager : PaymentManager
- $ratingManager : RatingManager
Methods
- __construct() : mixed
- create() : DashboardAttention
- 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
$apiClientManager read-only
protected
ApiClientManager
$apiClientManager
$appContext
protected
AppContext
$appContext
$bazaarAdvertManager read-only
protected
AdvertManager
$bazaarAdvertManager
$bazaarResponseManager read-only
protected
ResponseManager
$bazaarResponseManager
$comcatAdvertManager read-only
protected
AdvertManager
$comcatAdvertManager
$comcatResponseManager read-only
protected
ResponseManager
$comcatResponseManager
$commentManager read-only
protected
CommentManager
$commentManager
$complaintManager read-only
protected
ComplaintManager
$complaintManager
$control
protected
BaseComponent|null
$control
= null
$emailQueueManager read-only
protected
EmailQueueManager
$emailQueueManager
$invoiceManager read-only
protected
InvoiceManager
$invoiceManager
$orderManager read-only
protected
OrderManager
$orderManager
$paymentManager read-only
protected
PaymentManager
$paymentManager
$ratingManager read-only
protected
RatingManager
$ratingManager
Methods
__construct()
public
__construct(OrderManager $orderManager, ComplaintManager $complaintManager, InvoiceManager $invoiceManager, PaymentManager $paymentManager, AdvertManager $bazaarAdvertManager, ResponseManager $bazaarResponseManager, AdvertManager $comcatAdvertManager, ResponseManager $comcatResponseManager, CommentManager $commentManager, RatingManager $ratingManager, EmailQueueManager $emailQueueManager, ApiClientManager $apiClientManager) : mixed
Parameters
- $orderManager : OrderManager
- $complaintManager : ComplaintManager
- $invoiceManager : InvoiceManager
- $paymentManager : PaymentManager
- $bazaarAdvertManager : AdvertManager
- $bazaarResponseManager : ResponseManager
- $comcatAdvertManager : AdvertManager
- $comcatResponseManager : ResponseManager
- $commentManager : CommentManager
- $ratingManager : RatingManager
- $emailQueueManager : EmailQueueManager
- $apiClientManager : ApiClientManager
create()
public
create() : DashboardAttention
Return values
DashboardAttentiongetAppContext()
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