You are here

public function SqlBase::__toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::__toString()

Print the query string when the object is used a string.

Return value

string The query string.

Overrides MigrateSourceInterface::__toString

File

core/modules/migrate/src/Plugin/migrate/source/SqlBase.php, line 73
Contains \Drupal\migrate\Plugin\migrate\source\SqlBase.

Class

SqlBase
Sources whose data may be fetched via DBTNG.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function __toString() {
  return (string) $this->query;
}