/** * @param bool $insertId * * @return string */ public function execute($insertId = true) { if (!$insertId) { return parent::execute(); } return $this->dbh->lastInsertId(); }
/** * @return \PDOStatement */ public function execute() { return parent::execute(); }
/** * @return int */ public function execute() { return parent::execute()->rowCount(); }
/** * @return string */ public function execute() { parent::execute(); return $this->dbh->lastInsertId(); }