. */ namespace Doctrine\ORM\Query\Exec; /** * Base class for SQL statement executors. * * @author Roman Borschel * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link http://www.doctrine-project.org * @since 2.0 * @version $Revision$ */ abstract class AbstractSqlExecutor { protected $_sqlStatements; /** * Gets the SQL statements that are executed by the executor. * * @return array All the SQL update statements. */ public function getSqlStatements() { return $this->_sqlStatements; } /** * Executes all sql statements. * * @param Doctrine_Connection $conn The database connection that is used to execute the queries. * @param array $params The parameters. */ abstract public function execute(\Doctrine\DBAL\Connection $conn, array $params); }