|string */ protected $_sqlStatements; /** @var QueryCacheProfile */ protected $queryCacheProfile; /** * Gets the SQL statements that are executed by the executor. * * @return mixed[]|string All the SQL update statements. */ public function getSqlStatements() { return $this->_sqlStatements; } /** @return void */ public function setQueryCacheProfile(QueryCacheProfile $qcp) { $this->queryCacheProfile = $qcp; } /** * Do not use query cache * * @return void */ public function removeQueryCacheProfile() { $this->queryCacheProfile = null; } /** * Executes all sql statements. * * @param Connection $conn The database connection that is used to execute the queries. * @psalm-param array|array $params The parameters. * @psalm-param array| * array $types The parameter types. * * @return Result|int */ abstract public function execute(Connection $conn, array $params, array $types); }