Service/WindowsAzure/CommandLine/PackageScaffolder/PackageScaffolderAbstract.php
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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Version
- $Id$
\Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract
- Children
- \Scaffolder
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods

applyTransforms(string $rootPath, array $values) : voidApply file transforms.
| Name | Type | Description |
|---|---|---|
| $rootPath | string | Root path. |
| $values | array | Key/value array. |

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

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

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

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

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