Zephir\Passes\LocalContextPass::increaseMutations PHP Method

increaseMutations() public method

Increase the number of mutations a variable has inside a statement block
public increaseMutations ( string $variable )
$variable string
    public function increaseMutations($variable)
    {
        if (isset($this->mutations[$variable])) {
            $this->mutations[$variable]++;
        } else {
            $this->mutations[$variable] = 1;
        }
    }