Class thoulah\fontawesome\helpers\Image

Inheritancethoulah\fontawesome\helpers\Image

Helper class to load and manipulate images.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Creates a new Image object. thoulah\fontawesome\helpers\Image
__toString() Magic function, returns the image string. thoulah\fontawesome\helpers\Image
get() Load and process image. thoulah\fontawesome\helpers\Image

Method Details

__construct() public method

Creates a new Image object.

public void __construct ( \thoulah\fontawesome\config\Defaults $defaults )
$defaults \thoulah\fontawesome\config\Defaults

Default options

__toString() public method

Magic function, returns the image string.

public string __toString ( )
return string

The SVG result

get() public method

Load and process image.

public \thoulah\fontawesome\helpers\Svg get ( array $options )
$options array

Options

return \thoulah\fontawesome\helpers\Svg

Processed image data