PdfCreatorFactory
in package
Class PdfCreatorFactory.
PdfCreator was moved into it's own bundle (heimrichhannot/pdf-creator)
Table of Contents
Methods
- createInstance() : AbstractPdfCreator|null
- Return a pdf creator instance for given type or null, if no type is registered for given type.
- getTypes() : array<string|int, mixed>
- Return supported pdf creator types.
- getPdfCreatorRegistry() : mixed
Methods
createInstance()
Return a pdf creator instance for given type or null, if no type is registered for given type.
public
static createInstance(string $type) : AbstractPdfCreator|null
Parameters
- $type : string
Return values
AbstractPdfCreator|nullgetTypes()
Return supported pdf creator types.
public
static getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>getPdfCreatorRegistry()
protected
static getPdfCreatorRegistry() : mixed