Exemple #1
0
 public function getDefaultFactory()
 {
     return Orders::getInstance();
 }
Exemple #2
0
 protected function getFactory()
 {
     return Orders::getInstance();
 }
Exemple #3
0
 protected function archiveOrder($id)
 {
     $order = Orders::getInstance()->findEntity($id);
     $order->setStatus(Order::STATUS_CLOSED);
     $order->store();
 }