src/Container.php
protected function resolveValue($value)
    {
        if (is_array($value)) {
            foreach ($value as $index => $val) {
                $value[$index] = $this->resolveValue($val);
            }

            return $value;
        }

        if (is_string($value) && '@' == $value[0]) {
            return $this->offsetGet(substr($value, 1));
        }

        return $value;
    }
protected function resolveValue($value)
    {
        if (is_array($value)) {
            foreach ($value as $index => $val) {
                $value[$index] = $this->resolveValue($val);
            }

            return $value;
        }

        if (is_string($value) && '@' == $value[0]) {
            return $this->offsetGet(substr($value, 1));
        }

        return $value;
    }
protected function resolveValue ( $ value ) { if ( is_array ( $ value ) ) { foreach ( $ value as $ index => $ val ) { $ value [ $ index ] = $ this -> resolveValue ( $ val ) ; } return $ value ; } if ( is_string ( $ value ) && '@' == $ value [ 0 ] ) { return $ this -> offsetGet ( substr ( $ value , 1 ) ) ; } return $ value ; }
Finds and marks references (strings beginning with an @) to other services or parameters
Finds and marks references ( strings beginning with an