category Zend
package Zend_Service_WindowsAzure_CommandLine
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Invokes the scaffolder.

invoke(\Phar $phar, $rootPath, array $options = array()

Parameters

$phar

\Phar

Phar archive containing the current scaffolder.

$rootPath

$options

array

Options array (key/value).

Apply file transforms.

applyTransforms(string $rootPath, array $values) 

Parameters

$rootPath

string

Root path.

$values

array

Key/value array.

Fully copy a source directory to a target directory.

copyDirectory(string $sourcePath, string $destinationPath, boolean $abortIfExists = true, \octal $mode = '0775') : boolean

Parameters

$sourcePath

string

Source directory

$destinationPath

string

Target directory

$abortIfExists

boolean

Query re-creating target directory if exists

$mode

\octal

Changes access mode

Returns

boolean

Create directory

createDirectory(string $path, boolean $abortIfExists = true, boolean $recursive = true) : boolean

Parameters

$path

string

Path of directory to create.

$abortIfExists

boolean

Abort if directory exists.

$recursive

boolean

Create parent directories if not exist.

Returns

boolean

Delete directory and all of its contents;

deleteDirectory(string $path) : boolean

Parameters

$path

string

Directory path

Returns

boolean

Extract resources to a file system path

extractResources(\Phar $phar, string $path) 

Parameters

$phar

\Phar

Phar archive.

$path

string

Output path root.

Writes output to STDERR, followed by a newline (optional)

log(string $message, string $newLine = true

Parameters

$message

string

$newLine

string