public function getData($key = null, $defaultValue = null)
    {
        $data = $this->getPropertyFromData('data');

        if (null !== $key) {
            return isset($data[$key]) ? $data[$key] : $defaultValue;
        }

        return $data;
    }