private function makeReal($value)
    {
        if (is_array($value)) {
            foreach ($value as $key => $val) {
                $value[$key] = $this->makeReal($val);
            }
        }

        if ($value instanceof ObjectStub) {
            return $value->getObject();
        }

        return $value;
    }
private function makeReal($value)
    {
        if (is_array($value)) {
            foreach ($value as $key => $val) {
                $value[$key] = $this->makeReal($val);
            }
        }

        if ($value instanceof ObjectStub) {
            return $value->getObject();
        }

        return $value;
    }
private function makeReal ( $ value ) { if ( is_array ( $ value ) ) { foreach ( $ value as $ key => $ val ) { $ value [ $ key ] = $ this -> makeReal ( $ val ) ; } } if ( $ value instanceof ObjectStub ) { return $ value -> getObject ( ) ; } return $ value ; }
Retrieves a "semi-real" version of the value

@param mixed $value

@return mixed
Retrieves a semi - real version of the value