/** * Object mapping * * @param $queryRow * @return \Concrete\Package\Football\Src\Entity\League */ public function getResult($queryRow) { $ai = League::getByID($queryRow['id']); return $ai; }