Returns the number of assignment instructions that mutated a variable
public getNumberOfMutations ( string $variable ) : integer | ||
$variable | string | |
Résultat | integer |
/** * Returns the number of expected mutations for a variable * * @param string $variable * @return int */ public function getExpectedMutations($variable) { if ($this->localContext) { return $this->localContext->getNumberOfMutations($variable); } return 0; }