Core/Command.php
\phMagick\Core\Command
Package: Default
Properties
Methods


__construct(
$source
=
null, $destination
=
null
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$source | ||
$destination |


option(
string $option
)
:
void
Set's an option (a parameter without a value) Alias for setParameter($option, '', false)
Parameters
Name | Type | Description |
---|---|---|
$option | string | the parameter name |


param(
string $parameter, string $value
=
'', boolean $quotes
=
TRUE
)
:
void
Sets an Parameter
Parameters
Name | Type | Description |
---|---|---|
$parameter | string | the parameter name |
$value | string | the parameter value |
$quotes | boolean | the parameter value, if present will be surrounded by quotes |


set(
string $parameter, string $value
=
'', $quotes
=
TRUE
)
:
void
Set's an imagemagick value
Parameters
Name | Type | Description |
---|---|---|
$parameter | string | the parameter name |
$value | string | the parameter value param boolean $quotes the parameter value, if present will be surrounded by quotes |
$quotes |