public function resolve($reference)
    {
        if (empty($reference)) {
            return $reference;
        }

        if ($this->isResolvableAnonymousReference($reference)) {
            return $this->resolveAnonymousReference($reference);
        }

        return $this->resolveInternal($reference);
    }
public function resolve($reference)
    {
        if (empty($reference)) {
            return $reference;
        }

        if ($this->isResolvableAnonymousReference($reference)) {
            return $this->resolveAnonymousReference($reference);
        }

        return $this->resolveInternal($reference);
    }
public function resolve ( $ reference ) { if ( empty ( $ reference ) ) { return $ reference ; } if ( $ this -> isResolvableAnonymousReference ( $ reference ) ) { return $ this -> resolveAnonymousReference ( $ reference ) ; } return $ this -> resolveInternal ( $ reference ) ; }
Return the resolved value of the given reference.

@param mixed $reference
@return mixed
Return the resolved value of the given reference .