Sourcecode
in package
extends WriterAbstract
Sourcecode transformation writer; generates syntax highlighted source files in a destination's subfolder.
Methods
checkRequirements() inherited
This method verifies whether PHP has all requirements needed to run this writer.
publiccheckRequirements() : void
If one of the requirements is missing for this Writer then an exception of type RequirementMissing should be thrown; this indicates to the calling process that this writer will not function.
Throws
- \phpDocumentor\Transformer\Writer\Exception\RequirementMissing
When a requirements is missing stating which one.
- Inherited from
- \phpDocumentor\Transformer\Writer\WriterAbstract
transform() Line 40
This method writes every source code entry in the structure file to a highlighted file.
publictransform(ProjectDescriptor $project, Transformation $transformation) : void
Parameters
Document containing the structure.
Transformation to execute.