Skip to content

Commit

Permalink
Added Tricks
Browse files Browse the repository at this point in the history
  • Loading branch information
Коршунов Дмитрий committed Oct 1, 2021
1 parent 67748cd commit e956dab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

Helps to load data from XML or CSV

# Installation
## Installation
Require this package in your `composer.json` and update composer.

```php

"kdzone/oc-import-processor": "1.*"
```

## Tricks

```
Can use `$obModel->wasRecentlyCreated` to check insert mode.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"email": "[email protected]"
}
],
"version": "1.0.3",
"version": "1.0.4",
"require": {
"php": ">=7.3"
},
Expand Down
1 change: 1 addition & 0 deletions src/Kdz1/Import/ImportModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function importRec($arValues): void
protected function afterImportModel($obModel): void
{
// nothinhg
// Can use $obModel->wasRecentlyCreated to check insert mode
}


Expand Down

0 comments on commit e956dab

Please sign in to comment.