public function offsetGet($name)
    {
        if (!isset($this->variables[$name])) {
            $this->variables[$name] = new RuleBuilder\Variable($this, $name);
        }

        return $this->variables[$name];
    }
public function offsetGet($name)
    {
        if (!isset($this->variables[$name])) {
            $this->variables[$name] = new RuleBuilder\Variable($this, $name);
        }

        return $this->variables[$name];
    }
public function offsetGet ( $ name ) { if ( ! isset ( $ this -> variables [ $ name ] ) ) { $ this -> variables [ $ name ] = new RuleBuilder \ Variable ( $ this , $ name ) ; } return $ this -> variables [ $ name ] ; }
Retrieve a Variable by name.

@param string $name The Variable name

@return Variable
Retrieve a Variable by name .