Skip to content

Commit

Permalink
Tweaked the upgrading guide
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Aug 27, 2014
1 parent 9e29d00 commit 42d6f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Having a public static factory property is no longer supported. You must use the

### Generator (Kind) Changes

We now refer to what was previously the kind classes, as generator classes. We've removed some of these in favour of the faker alternatives. We currently provide the following generators: `Call`, `Closure`, `Factory`, and `Generic`. The call, closure, and factory generators have not changed significantly since previous versions, and the generic generator still provides access to the faker generators. The closure generator will now pass the instance of your model into your closure as the first parameter too.
We now refer to what were previously the kind classes, as generator classes. We've removed some of these in favour of the faker alternatives. We currently provide the following generators: `Call`, `Closure`, `Factory`, and `Generic`. The call, closure, and factory generators have not changed significantly since previous versions, and the generic generator still provides access to the faker generators. The closure generator will now pass the instance of your model into your closure as the first parameter too.

There are two syntax changes to watch out for:
* You can now use a `;` to send multiple arguments to the generators.
Expand Down

0 comments on commit 42d6f85

Please sign in to comment.