\phpDocumentor\Transformer\WriterIoTrait

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
copy()
readSourceFile()
persistTo()
No protected properties found
N/A
copyDirectory()
stripFirstPartOfPath()
isGlobalTemplateReference()
normalizeSourcePath()
normalizeDestination()
No private properties found
N/A

Methods

copy()

copy(\phpDocumentor\Transformer\Transformation  $transformation, string  $path, string  $destination) : void

Parameters

\phpDocumentor\Transformer\Transformation $transformation
string $path
string $destination

readSourceFile()

readSourceFile(\phpDocumentor\Transformer\Transformation  $transformation, string  $path) : string

Parameters

\phpDocumentor\Transformer\Transformation $transformation
string $path

Returns

string —

persistTo()

persistTo(\phpDocumentor\Transformer\Transformation  $transformation, string  $path, string  $contents) : void

Parameters

\phpDocumentor\Transformer\Transformation $transformation
string $path
string $contents

copyDirectory()

copyDirectory(\phpDocumentor\Transformer\Transformation  $transformation, string  $path, string  $destination) : void

Parameters

\phpDocumentor\Transformer\Transformation $transformation
string $path
string $destination

stripFirstPartOfPath()

stripFirstPartOfPath(string  $path) : string

Parameters

string $path

Returns

string —

isGlobalTemplateReference()

isGlobalTemplateReference(string  $path) : bool

Parameters

string $path

Returns

bool —

normalizeSourcePath()

normalizeSourcePath(string  $path) : string

Parameters

string $path

Returns

string —

normalizeDestination()

normalizeDestination(string  $destination) : string

Parameters

string $destination

Returns

string —