app/DebugBar.php
public static function initPDO(PDO $pdo): PDO
    {
        if (self::$debugbar instanceof StandardDebugBar) {
            $traceable_pdo = new TraceablePDO($pdo);
            self::$debugbar->addCollector(new PDOCollector($traceable_pdo));
        }

        return $pdo;
    }
public static function initPDO(PDO $pdo): PDO
    {
        if (self::$debugbar instanceof StandardDebugBar) {
            $traceable_pdo = new TraceablePDO($pdo);
            self::$debugbar->addCollector(new PDOCollector($traceable_pdo));
        }

        return $pdo;
    }
public static function initPDO ( PDO $ pdo ) : PDO { if ( self :: $ debugbar instanceof StandardDebugBar ) { $ traceable_pdo = new TraceablePDO ( $ pdo ) ; self :: $ debugbar -> addCollector ( new PDOCollector ( $ traceable_pdo ) ) ; } return $ pdo ; }
Initialize the PDO collector.

@param PDO $pdo

@return PDO
Initialize the PDO collector .