class FeedbackFactory

Methods

__construct(CertificateFactory $certificateFactory = null)

Create the FeedbackFactory

setCertificateFactory(CertificateFactory $certificateFactory = null)

Set a certificate factory to fetch the default certificate from

getCertificateFactory()

Get the current certificate factory

createFeedback(Certificate $certificate = null)

Create a Feedback object

Details

at line 17
__construct(CertificateFactory $certificateFactory = null)

Create the FeedbackFactory

Parameters

CertificateFactory $certificateFactory The certificate factory to use when no specific certificate is given on feedback creation

at line 27
setCertificateFactory(CertificateFactory $certificateFactory = null)

Set a certificate factory to fetch the default certificate from

Parameters

CertificateFactory $certificateFactory The certificate factory to use when no specific certificate is given on feedback creation

at line 37
CertificateFactory|null getCertificateFactory()

Get the current certificate factory

Return Value

CertificateFactory|null

at line 48
Feedback createFeedback(Certificate $certificate = null)

Create a Feedback object

Parameters

Certificate $certificate The certificate to use or null to use the default certificate from the given certificate factory

Return Value

Feedback