public function getClass($type, $subtype) { $obj = $this->retrieveFromCache($type, $subtype); return $obj ? $obj->class : null; }