Service/WindowsAzure/CommandLine/PackageScaffolder/PackageScaffolderAbstract.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Version
- $Id$
\Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract
Package: Zend_Service_WindowsAzure_CommandLine- Children
- \Scaffolder
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods



applyTransforms(string $rootPath, array $values) : void
ParametersName | Type | Description |
---|
$rootPath | string | Root path. |
---|
$values | array | Key/value array. |
---|



copyDirectory(string $sourcePath, string $destinationPath, boolean $abortIfExists = true, \octal $mode = '0777') : boolean
Fully copy a source directory to a target directory.
ParametersName | Type | Description |
---|
$sourcePath | string | Source directory |
---|
$destinationPath | string | Target directory |
---|
$abortIfExists | boolean | Query re-creating target directory if exists |
---|
$mode | \octal | Changes access mode |
---|
Returns 


createDirectory(string $path, boolean $abortIfExists = true, boolean $recursive = true) : boolean
ParametersName | Type | Description |
---|
$path | string | Path of directory to create. |
---|
$abortIfExists | boolean | Abort if directory exists. |
---|
$recursive | boolean | Create parent directories if not exist. |
---|
Returns 


deleteDirectory(string $path) : boolean
Delete directory and all of its contents;
ParametersName | Type | Description |
---|
$path | string | Directory path |
---|
Returns 


extractResources(\Phar $phar, string $path) : void
Extract resources to a file system path
ParametersName | Type | Description |
---|
$phar | \Phar | Phar archive. |
---|
$path | string | Output path root. |
---|



invoke(\Phar $phar, $rootPath, array $options = array()) : void
abstractInvokes the scaffolder.
ParametersName | Type | Description |
---|
$phar | \Phar | Phar archive containing the current scaffolder. |
---|
$rootPath | | |
---|
$options | array | Options array (key/value). |
---|



log(string $message, string $newLine = true) : void
Writes output to STDERR, followed by a newline (optional)
ParametersName | Type | Description |
---|
$message | string | |
---|
$newLine | string | |
---|