PHP Class SimpleSoftwareIO\QrCode\Image

Inheritance: implements SimpleSoftwareIO\QrCode\ImageInterface
Show file Open project: simplesoftwareio/simple-qrcode Class Usage Examples

Protected Properties

Property Type Description
$image resource Holds the image resource.

Public Methods

Method Description
__construct ( $image ) Creates a new Image object.
getHeight ( ) * Returns the height of an image
getImageResource ( ) : string Returns the image string.
getWidth ( ) * Returns the width of an image

Method Details

__construct() public method

Creates a new Image object.
public __construct ( $image )
$image string An image string

getHeight() public method

* Returns the height of an image
public getHeight ( )

getImageResource() public method

Returns the image string.
public getImageResource ( ) : string
return string

getWidth() public method

* Returns the width of an image
public getWidth ( )

Property Details

$image protected property

Holds the image resource.
protected resource $image
return resource