$translator
$translator : \phpDocumentor\Translator\Translator
Checkstyle transformation writer; generates checkstyle report
$translator : \phpDocumentor\Translator\Translator
checkRequirements() : void
This method verifies whether PHP has all requirements needed to run this writer.
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.
when a requirements is missing stating which one.
transform(\phpDocumentor\Descriptor\ProjectDescriptor $project, \phpDocumentor\Transformer\Transformation $transformation) : void
This method generates the checkstyle.xml report
\phpDocumentor\Descriptor\ProjectDescriptor | $project | Document containing the structure. |
\phpDocumentor\Transformer\Transformation | $transformation | Transformation to execute. |
getTranslator() : \phpDocumentor\Translator\Translator
Returns an instance of the object responsible for translating content.
setTranslator(\phpDocumentor\Translator\Translator $translator) : void
Sets a new object capable of translating strings on this writer.
\phpDocumentor\Translator\Translator | $translator |
getDestinationPath(\phpDocumentor\Transformer\Transformation $transformation) : string
Retrieves the destination location for this artifact.
\phpDocumentor\Transformer\Transformation | $transformation |