public function getProperty($name)
    {
        if (!$this->hasProperty($name)) {
            return;
        }

        if (strstr($name, '.')) {
            $value = false;
            @eval('$value = '.$this->resolveArrayPath($name).';');

            return $value;
        }

        if ($this->isArray()) {
            return $this->object[$name];
        } else {
            return $this->object->$name;
        }
    }