private function resolveValue($value)
    {
        if (DataSet::isPath($value)) {
            if (empty($this->dataSet)) {
                throw new ConfigurationException('DataSet is required to resole value by path.');
            }
            $value = $this->dataSet->resolvePath($value);
        }

        if (is_array($value)) {
            foreach ($value as $key => $subValue) {
                $value[$key] = $this->resolveValue($subValue);
            }
        }

        return $value;
    }
private function resolveValue($value)
    {
        if (DataSet::isPath($value)) {
            if (empty($this->dataSet)) {
                throw new ConfigurationException('DataSet is required to resole value by path.');
            }
            $value = $this->dataSet->resolvePath($value);
        }

        if (is_array($value)) {
            foreach ($value as $key => $subValue) {
                $value[$key] = $this->resolveValue($subValue);
            }
        }

        return $value;
    }
private function resolveValue ( $ value ) { if ( DataSet :: isPath ( $ value ) ) { if ( empty ( $ this -> dataSet ) ) { throw new ConfigurationException ( 'DataSet is required to resole value by path.' ) ; } $ value = $ this -> dataSet -> resolvePath ( $ value ) ; } if ( is_array ( $ value ) ) { foreach ( $ value as $ key => $ subValue ) { $ value [ $ key ] = $ this -> resolveValue ( $ subValue ) ; } } return $ value ; }
Find value in DataSet by given value if it is a path string.
Otherwise given value will be returned.

@param $value
@return array|int|null|string
@since 0.2
Find value in DataSet by given value if it is a path string . Otherwise given value will be returned .