<?php
// Offline syntax/method check for new DockerAPI methods.
require_once __DIR__ . '/../web-files/libs/docker-api.php';
$d = new DockerAPI();
$methods = ['create_network', 'remove_network', 'connect_network', 'disconnect_network', 'run_in_container'];
foreach ($methods as $m) {
    if (!method_exists($d, $m)) { fwrite(STDERR, "FAIL: DockerAPI::$m missing\n"); exit(1); }
}
echo "PASS: docker-api methods present\n";
