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

 Methods

Invokes the scaffolder.

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

Parameters

$phar

\Phar

Phar archive containing the current scaffolder.

$rootPath

$options

array

Options array (key/value).

Invokes the scaffolder.

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

Parameters

$phar

\Phar

Phar archive containing the current scaffolder.

$rootPath

$options

array

Options array (key/value).

Apply file transforms.

applyTransforms(string $rootPath, array $values) 
Inherited

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
Inherited

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
Inherited

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
Inherited

Parameters

$path

string

Directory path

Returns

boolean

Extract resources to a file system path

extractResources(\Phar $phar, string $path) 
Inherited

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
Inherited

Parameters

$message

string

$newLine

string