Core/Command.php

Show: inherited
Table of Contents

\phMagick\Core\Command

Package: Default

Properties

Propertyprivate  $binaryBase= 'null'
Default valuenullDetails
Type
n/a
Propertyprivate  $cmd= 'array()'
Default valuearray()Details
Type
n/a
Propertyprivate  $destination= ''
Details
Type
n/a
Propertyprivate  $source= ''
Details
Type
n/a

Methods

methodpublic__construct(  $source = null,  $destination = null ) : void

Parameters
Name Type Description
$source
$destination
methodprotected_appendToCmd(  $cmd ) : void

Parameters
Name Type Description
$cmd
methodpublicbinary(  $name ) : void

Parameters
Name Type Description
$name
methodpublicfile(  $file ) : void

adds a file name to the command list

Parameters
Name Type Description
$file
methodpublicgetBinaryBase( ) : void

methodpublicgetDestination( ) : void

methodpublicgetSource( ) : void

methodpublicoption( 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

methodpublicparam( 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

methodpublicset( 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
methodpublicsetBinaryBase(  $path ) : void

Parameters
Name Type Description
$path
methodpublicsetDestination(  $path ) : void

Parameters
Name Type Description
$path
methodpublicsetSource(  $source ) : void

Parameters
Name Type Description
$source
methodprotectedtoPathObject(  $path ) : void

Parameters
Name Type Description
$path
methodpublictoString( ) : void

returns the shell command, ready to be used in the command line

Documentation was generated by DocBlox 0.17.2.