protected function computeVariables()
    {
        if ($this->isScopeRoot()) {
            return $this->variables;
        }
        
        if ($this->isScope()) {
            return array_merge($this->parentExecution->computeVariables(), $this->variables);
        }
        
        return $this->parentExecution->computeVariables();
    }
protected function computeVariables()
    {
        if ($this->isScopeRoot()) {
            return $this->variables;
        }
        
        if ($this->isScope()) {
            return array_merge($this->parentExecution->computeVariables(), $this->variables);
        }
        
        return $this->parentExecution->computeVariables();
    }
protected function computeVariables ( ) { if ( $ this -> isScopeRoot ( ) ) { return $ this -> variables ; } if ( $ this -> isScope ( ) ) { return array_merge ( $ this -> parentExecution -> computeVariables ( ) , $ this -> variables ) ; } return $ this -> parentExecution -> computeVariables ( ) ; }
Fetch all variables visible to the execution.

@return array<string, mixed>
Fetch all variables visible to the execution .