public function __construct($vars) { $this->vstore = new VariableStore(); $this->rstore = new ReplacementStore($vars); }