common utilities for generators

author Ariel Sommeria-klein
package Amfphp__BackOffice_ClientGenerator

 Methods

recursively copies one folder to another.

recurseCopy(string $src, string $dst) 
Static

Parameters

$src

string

$dst

string

must not exist yet

unused for now.

recursive_remove_directory(string $directory, boolean $empty) : boolean
Static

Parameters

$directory

string

$empty

boolean

Returns

boolean

zip folder

zipFolder(\type $sourcefolder, \type $zipfilename, \type $removeFromLocalName) 
Static

Parameters

$sourcefolder

\type

$zipfilename

\type

$removeFromLocalName

\type

use to reduce paths inside zip