/** * Constructor. * @param TDbConnection the database connection * @param string the SQL statement to be executed * @param TDbStatementClassification Defaults to 'UNKNOWN' */ public function __construct(TDbConnection $connection, $text, $classification = TDbStatementClassification::UNKNOWN) { $connection->setActive(true); parent::__construct($connection, $text); $this->_statementClassification = $classification; Prado::log($classification . ', ' . $connection->getServerRole() . ': ' . preg_replace('/[\\s]+/', ' ', $text), TLogger::DEBUG, 'System.Testing.Data.Distributed.TDistributedDbCommand'); }