\phpDocumentor\Transformer\WriterTranslatable

All writers that have items that should be translated should implement this interface

Summary

Methods
Constants
getTranslator()
setTranslator()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getTranslator()

getTranslator() : \phpDocumentor\Translator\Translator

Returns an instance of the object responsible for translating content.

Returns

\phpDocumentor\Translator\Translator

setTranslator()

setTranslator(\phpDocumentor\Translator\Translator  $translator) : void

Sets a new object capable of translating strings on this writer.

Parameters

\phpDocumentor\Translator\Translator $translator