/** * Returns the first item in this DataList * * @return DataObject */ public function first() { foreach ($this->dataQuery->firstRow()->execute() as $row) { return $this->createDataObject($row); } }