SunnyCashLogoFactory
in package
Class SunnyCashLogoFactory
Tags
Table of Contents
- $logoStorageWriter : SunnyCashLogoStorageWriterInterface
- __construct() : mixed
- SunnyCashLogoFactory constructor.
- createEmptyLogo() : SunnyCashLogo
- Creates an empty logo instance representing the absence of the logo in the filesystem.
- createLogo() : SunnyCashLogo
- Creates a logo instance from a given file path.
Properties
$logoStorageWriter
protected
SunnyCashLogoStorageWriterInterface
$logoStorageWriter
Methods
__construct()
SunnyCashLogoFactory constructor.
public
__construct(SunnyCashLogoStorageWriterInterface $logoStorageWriter) : mixed
Parameters
- $logoStorageWriter : SunnyCashLogoStorageWriterInterface
Return values
mixed —createEmptyLogo()
Creates an empty logo instance representing the absence of the logo in the filesystem.
public
createEmptyLogo() : SunnyCashLogo
Return values
SunnyCashLogo —createLogo()
Creates a logo instance from a given file path.
public
createLogo(StringType $logoUrl, StringType $logoPath) : SunnyCashLogo
Parameters
- $logoUrl : StringType
- $logoPath : StringType