Service/WindowsAzure/CommandLine/PackageScaffolder/PackageScaffolderAbstract.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

methodprotectedapplyTransforms(string $rootPath, array $values) : void

Apply file transforms.

Parameters
NameTypeDescription
$rootPathstring

Root path.

$valuesarray

Key/value array.

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

Fully copy a source directory to a target directory.

Parameters
NameTypeDescription
$sourcePathstring

Source directory

$destinationPathstring

Target directory

$abortIfExistsboolean

Query re-creating target directory if exists

$mode\octal

Changes access mode

Returns
TypeDescription
boolean
methodprotectedcreateDirectory(string $path, boolean $abortIfExists = true, boolean $recursive = true) : boolean

Create directory

Parameters
NameTypeDescription
$pathstring

Path of directory to create.

$abortIfExistsboolean

Abort if directory exists.

$recursiveboolean

Create parent directories if not exist.

Returns
TypeDescription
boolean
methodprotecteddeleteDirectory(string $path) : boolean

Delete directory and all of its contents;

Parameters
NameTypeDescription
$pathstring

Directory path

Returns
TypeDescription
boolean
methodprotectedextractResources(\Phar $phar, string $path) : void

Extract resources to a file system path

Parameters
NameTypeDescription
$phar\Phar

Phar archive.

$pathstring

Output path root.

methodpublicinvoke(\Phar $phar,  $rootPath, array $options = array()) : void
abstract

Invokes the scaffolder.

Parameters
NameTypeDescription
$phar\Phar

Phar archive containing the current scaffolder.

$rootPath
$optionsarray

Options array (key/value).

methodprotectedlog(string $message, string $newLine = true) : void

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

Parameters
NameTypeDescription
$messagestring
$newLinestring
Documentation was generated by phpDocumentor 2.2.0 .