Skip to content

Commit

Permalink
small howto hint for the factory
Browse files Browse the repository at this point in the history
  • Loading branch information
pscheit committed Jan 14, 2014
1 parent 500c0d0 commit aa62449
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/how-to.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# How to

## create an entity programatically

Use the `Webforge\Doctrine\EntityFactory` to create an entity just with the fqn and an array of field => value pairs. The EntityFactory will still work if the constructor of the entity changes.

0 comments on commit aa62449

Please sign in to comment.