/** * {@inheritdoc} */ public function quote($value) { try { if (ConnectionDecoratorChain::isDecorate()) { return (new ConnectionDecoratorChain($this, $this->decorators))->quote($value); } return $this->pdo->quote($value); } catch (\Exception $e) { throw $this->convertException($e); } }
/** * {@inheritdoc} */ public function applyPrefix($value) { if (ConnectionDecoratorChain::isDecorate()) { return (new ConnectionDecoratorChain($this, $this->decorators))->applyPrefix($value); } return str_replace(DB::SCHEMA_OBJECT_PREFIX, '', $value); }
/** * {@inheritdoc} */ public function quoteIdentifier($identifier) { if (ConnectionDecoratorChain::isDecorate()) { return (new ConnectionDecoratorChain($this, $this->decorators))->quoteIdentifier($identifier); } try { return $this->conn->quoteIdentifier($identifier); } catch (\Exception $e) { throw $this->convertException($e); } }