Пример #1
0
 private static function initialize($args, $supplier)
 {
     $order = new PurchaseOrder($args['id'], $args['date'], $args['status'], $supplier, $args['user']);
     $order->initializeOrder();
     return $order;
 }