BuilderFactory
Instantiates builders
Table of Contents
Properties
| $formatFactory | |
| $itemFactory | |
| $presenterFactory | |
| $pricingFactory | |
| $serviceFactory |
Methods
| __construct() | Init |
| invoice() | Retrieves an instance of InvoiceBuilder |
| invoiceData() | Retrieves an instance of InvoiceDataBuilder |
| service() | Retrieves an instance of ServiceBuilder |
| serviceChange() | Retrieves an instance of ServiceChangeBuilder |
| serviceData() | Retrieves an instance of ServiceDataBuilder |
Properties
$formatFactory
private
Instance
$formatFactory
of FormatFactory
$itemFactory
private
Instance
$itemFactory
of ItemFactory
$presenterFactory
private
Instance
$presenterFactory
of PresenterFactory
$pricingFactory
private
Instance
$pricingFactory
of PricingFactory
$serviceFactory
private
Instance
$serviceFactory
of ServiceFactory
Methods
__construct()
Init
public
__construct(ServiceFactory $serviceFactory, FormatFactory $formatFactory, PricingFactory $pricingFactory, PresenterFactory $presenterFactory, ItemFactory $itemFactory) : mixed
Parameters
- $serviceFactory : ServiceFactory
-
An instance of the ServiceFactory
- $formatFactory : FormatFactory
-
An instance of the FormatFactory
- $pricingFactory : PricingFactory
-
An instance of the PricingFactory
- $presenterFactory : PresenterFactory
-
An instance of the PresenterFactory
- $itemFactory : ItemFactory
-
An instance of the ItemFactory
invoice()
Retrieves an instance of InvoiceBuilder
public
invoice() : InvoiceBuilder
Return values
InvoiceBuilder —An instance of InvoiceBuilder
invoiceData()
Retrieves an instance of InvoiceDataBuilder
public
invoiceData() : InvoiceDataBuilder
Return values
InvoiceDataBuilder —An instance of InvoiceDataBuilder
service()
Retrieves an instance of ServiceBuilder
public
service() : ServiceBuilder
Return values
ServiceBuilder —An instance of ServiceBuilder
serviceChange()
Retrieves an instance of ServiceChangeBuilder
public
serviceChange() : ServiceChangeBuilder
Return values
ServiceChangeBuilder —An instance of ServiceChangeBuilder
serviceData()
Retrieves an instance of ServiceDataBuilder
public
serviceData() : ServiceDataBuilder
Return values
ServiceDataBuilder —An instance of ServiceDataBuilder