Свойство | Type | Description | |
---|---|---|---|
$_files | array | Collated files against which mutations can be generated | |
$_mutables | The collection of possible mutations stored as sets of mutation instructions (allowing us to apply and reverse mutations on the fly) | ||
$_sourceDirectory | string | Path to the source directory of the project being mutated |
Méthode | Description | |
---|---|---|
generate ( $mutableObject = null ) : void | Given a source directory (@see \Mutagenesis\Generator::setSourceDirectory) pass each to a \Mutagenesis\Mutable instance which is used to generate mutations and store the instructions for applying and reversing them as a set of mutables (instances of \Mutagenesis\Mutation). | |
getFiles ( ) : array | Return collated files against which mutations can be generated. | |
getMutables ( ) : |
Return an array of mutable files. | |
getSourceDirectory ( ) : string | Get the source directory of the source code to be mutated | |
setSourceDirectory ( string $sourceDirectory ) | Set the source directory of the source code to be mutated |
Méthode | Description | |
---|---|---|
_collateFiles ( $target ) : void | Collate all files capable of being mutated. For now, this only considers files ending in the PHP extension. |
protected _collateFiles ( $target ) : void | ||
Résultat | void |
public getMutables ( ) : |
||
Résultat |
public getSourceDirectory ( ) : string | ||
Résultat | string |
public setSourceDirectory ( string $sourceDirectory ) | ||
$sourceDirectory | string |
protected array $_files | ||
Résultat | array |
protected Mutable[],Mutagenesis $_mutables | ||
Résultat |
protected string $_sourceDirectory | ||
Résultat | string |