Zephir\Passes\LocalContextPass::increaseMutations PHP 메소드

increaseMutations() 공개 메소드

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;
        }
    }