public function createInstanceOfResultClass($registry, $row) { if (strlen($type = $this->getResultClass()) > 0) { return $this->createInstanceOf($registry, $type, $row); } }