Class

Imagine\Image\Profile

class Profile implements ProfileInterface

Methods

__construct($name, $data)

String name()

Returns the name of the profile

String data()

Returns the profile data

static Profile fromPath(String $path)

Creates a profile from a path to a file

Details

at line 21
public __construct($name, $data)

Parameters

$name
$data

at line 30
public String name()

Returns the name of the profile

Return Value

String

at line 38
public String data()

Returns the profile data

Return Value

String

at line 52
static public Profile fromPath(String $path)

Creates a profile from a path to a file

Parameters

String $path

Return Value

Profile

Exceptions

InvalidArgumentException In case the provided path is not valid