CodeExplorer restoreOrderData example
public function restore(StorableFlow
$storable): void
{ if ($storable->
hasStore(MailAware::MAIL_STRUCT
)) { $this->
restoreMailStore($storable);
return;
} if ($storable->
hasData(OrderAware::ORDER
)) { $this->
restoreOrderData($storable);
return;
} if ($storable->
hasData(CustomerAware::CUSTOMER
)) { $this->
restoreCustomerData($storable);
} } private function restoreMailStore(StorableFlow
$storable): void
{