thumbnailCreator
in package
Image file objekt
Tags
Table of Contents
- $destination : string
- Desination full path
- $fn : string
- Creator function name
- $parent : string
- Thumbnail parent path
- $source : string
- Source full path
- $thumbSize : int
- Thumbnail size in pixel
- __construct() : mixed
- Constructor
- create() : bool
- Create thumbnail with \Intervention\Image
- createLegacy() : bool
- Create thumbnail with PHPImageWorkshop
- getFunctionName() : string
- Creator function name
Properties
$destination
Desination full path
private
string
$destination
= ''
$fn
Creator function name
private
static string
$fn
= null
$parent
Thumbnail parent path
private
string
$parent
= ''
$source
Source full path
private
string
$source
= ''
$thumbSize
Thumbnail size in pixel
private
int
$thumbSize
Methods
__construct()
Constructor
public
__construct(string $source, string $destination) : mixed
Parameters
- $source : string
- $destination : string
Return values
mixed —create()
Create thumbnail with \Intervention\Image
public
create(string $type) : bool
Parameters
- $type : string
Return values
bool —createLegacy()
Create thumbnail with PHPImageWorkshop
public
createLegacy() : bool
Return values
bool —getFunctionName()
Creator function name
public
static getFunctionName() : string