public function __construct(Connection $connection) { $this->connection = $connection; $this->platform = $connection->getDatabasePlatform(); }