<?php

namespace FiloBlu\Esb\Core\Expression;

use Magento\Framework\DataObject;

/**
 * Interface VariableExpanderInterface
 * @package FiloBlu\Esb\Core\Expression
 */
interface VariableExpanderInterface
{

    /**
     * @param $value
     * @param DataObject $data
     * @return mixed
     */
    public function expand($value, DataObject $data);
}
