public function getFirstData() { foreach ($this->data as $d) { if ($d['type'] == self::CACHEDATA_TYPE_DATA) { return $d['data']; } } return null; }