M1\Vars\Vars::makeVariables PHP Method

makeVariables() private method

Sets the replacement variables if the option has been set
private makeVariables ( array | null $options )
$options array | null The options being used for Vars
    private function makeVariables($options)
    {
        $this->variables = new VariableProvider($this);
        if (isset($options['replacements'])) {
            $this->variables->rstore->load($options['replacements']);
        }
    }