import php.Lib; class ItemScheduler { var stock_id:String; function new(stock_id: String) { this.stock_id = stock_id; } function tableHeader() { return ["A", "B", "C"]; } function generateTable(): Void { for(schedule in this.schedules()) { this.formatRow(schedule); } } function formatRow(row) { php.Lib.print('helli'); } function schedules() { return ["a", "b", "c"]; } }