IoTrait
Table of Contents
-
copy()
: void
-
persistTo()
: void
-
readSourceFile()
: string
-
copyDirectory()
: void
-
isGlobalTemplateReference()
: bool
-
normalizeDestination()
: string
-
normalizeSourcePath()
: string
-
stripFirstPartOfPath()
: string
copy()
protected
copy(Transformation $transformation, string $path, string $destination) : void
Parameters
-
$transformation
: Transformation
-
-
$path
: string
-
-
$destination
: string
-
Return values
void
—
persistTo()
protected
persistTo(Transformation $transformation, string $path, string $contents) : void
Parameters
-
$transformation
: Transformation
-
-
$path
: string
-
-
$contents
: string
-
Return values
void
—
readSourceFile()
protected
readSourceFile(Transformation $transformation, string $path) : string
Parameters
-
$transformation
: Transformation
-
-
$path
: string
-
Return values
string
—
copyDirectory()
private
copyDirectory(Transformation $transformation, string $path, string $destination) : void
Parameters
-
$transformation
: Transformation
-
-
$path
: string
-
-
$destination
: string
-
Return values
void
—
isGlobalTemplateReference()
private
isGlobalTemplateReference(string $path) : bool
Parameters
-
$path
: string
-
Return values
bool
—
normalizeDestination()
private
normalizeDestination(string $destination) : string
Parameters
-
$destination
: string
-
Return values
string
—
normalizeSourcePath()
private
normalizeSourcePath(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—
stripFirstPartOfPath()
private
stripFirstPartOfPath(string $path) : string
Parameters
-
$path
: string
-
Return values
string
—