/** * {@inheritDoc} */ public function __construct($command) { $this->rawCommand = trim($command); if (strpos(strtolower($this->rawCommand), 'select') === 0) { $command = 'select' . substr($command, 6); $this->isQuery = true; } if (strpos(strtolower($this->rawCommand), 'update') === 0) { $command = 'update' . substr($command, 6); $this->isQuery = true; } if (strpos(strtolower($this->rawCommand), 'delete') === 0) { $command = 'delete' . substr($command, 6); $this->isQuery = true; } parent::__construct($command); }