PHP Class SebastianBergmann\PHPCPD\Log\AbstractXmlLogger

Afficher le fichier Open project: sebastianbergmann/phpcpd

Protected Properties

Свойство Type Description
$document

Méthodes publiques

Méthode Description
__construct ( string $filename ) Constructor.
processClones ( CodeCloneMap $clones ) Processes a list of clones.

Méthodes protégées

Méthode Description
convertToUtf8 ( string $string ) : string Converts a string to UTF-8 encoding.
flush ( ) Writes the XML document to the file.
isUtf8 ( string $string ) : boolean Checks a string for UTF-8 encoding.

Method Details

__construct() public méthode

Constructor.
public __construct ( string $filename )
$filename string

convertToUtf8() protected méthode

Converts a string to UTF-8 encoding.
protected convertToUtf8 ( string $string ) : string
$string string
Résultat string

flush() protected méthode

Writes the XML document to the file.
protected flush ( )

isUtf8() protected méthode

Checks a string for UTF-8 encoding.
protected isUtf8 ( string $string ) : boolean
$string string
Résultat boolean

processClones() abstract public méthode

Processes a list of clones.
abstract public processClones ( CodeCloneMap $clones )
$clones SebastianBergmann\PHPCPD\CodeCloneMap

Property Details

$document protected_oe property

protected $document