Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Aug 16, 2019
1 parent 25307fe commit f41732b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ Example:
*/
class User
{
/** @Column(type=primary) */
/** @Column(type="primary") */
protected $id;

/** @HasOne(target=Profile, load=eager) */
/** @HasOne(target=Profile::class, load="eager") */
protected $profile;

/** @HasMany(target=Post, load=lazy) */
/** @HasMany(target=Post::class, load="lazy") */
protected $posts;

/** @ManyToMany(target=Tag, though=TagMap, load=lazy) */
/** @ManyToMany(target=Tag::class, though=TagMap::class, load="lazy") */
protected $tags;

...
Expand Down

0 comments on commit f41732b

Please sign in to comment.