/** * Get last inserted ID from the table * * @param string $name Database table name * * @return string */ public function lastInsertId(string $name = NULL) { return $this->dbHelper->getPdo()->lastInsertId($name); }