src/mg/Ding/Container/Impl/ContainerImpl.php
private function _loadValue($value)
    {
        $value = $this->_searchAndReplaceProperties($value);
        if (is_string($value) && strpos($value, 'resource://') === 0) {
            $value = substr($value, 11);
            return $this->getResource($value);
        }
        return $value;
    }
private function _loadValue($value)
    {
        $value = $this->_searchAndReplaceProperties($value);
        if (is_string($value) && strpos($value, 'resource://') === 0) {
            $value = substr($value, 11);
            return $this->getResource($value);
        }
        return $value;
    }
Takes care of transforming a scalar value for a property or constructor
argument, into a an actual value (i.e: if its a resource://, loading it
first).

@param mixed $value The value

@return mixed