Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
moriony committed Feb 5, 2016
1 parent b7d110c commit b362772
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ $calculator->getDispatcher()->addListener(Events::AFTER_CALCULATE, function (Aft
```

What is what:
- `Events::AFTER_CALCULATE` is an event calling then calculation ends and calculation result is ready;
- `AfterCalculateEvent` is event object which contains calculation result and package. Look to other available events [here](/src/Event);
- `Events::AFTER_CALCULATE` is an event calling when calculation ends and calculation result is ready;
- `AfterCalculateEvent` is an event object which contains calculation result and package. Look to other available events [here](/src/Event);

### More ideas how to use and extend shipping calculator

- create calculation handlers for other couriers and shipping methods;
- create calculators and realize your own algorithms using handlers;
- extend [models](/src/Model). For example i'm use it with [Doctrine ORM](https://github.com/doctrine/doctrine2) entities;
- extend [models](/src/Model). For example i use it with [Doctrine ORM](https://github.com/doctrine/doctrine2) entities;

0 comments on commit b362772

Please sign in to comment.