public static function main(array $args = array()) { $simulator = new DuckSimulator(); $duckFactory = new CountingDuckFactory(); $simulator->simulate($duckFactory); }
public static function main(array $args = array()) { $simulator = new DuckSimulator(); $simulator->simulate(); }
<?php require_once "../../../bootstrap.php"; DuckSimulator::main($_SERVER["argv"]);