Skip to content
Permalink
Browse files

typo in ORM README

  • Loading branch information...
fiblan committed Jun 24, 2015
1 parent 1422d39 commit 3e7c48f5bf14b683ab3f8d98af30ac8f1db8b096
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/ORM/README.md
@@ -35,7 +35,7 @@ mappers if no explicit connection is defined.
## Creating Associations

In your table classes you can define the relations between your tables. CakePHP
supports 4 association types out of the box:
ORM supports 4 association types out of the box:

* belongsTo - E.g. Many articles belong to a user.
* hasOne - E.g. A user has one profile
@@ -85,7 +85,7 @@ $data = [
];
$articles = TableRegistry::get('Articles');
$article = $articles->newEnitity($data, [
$article = $articles->newEntity($data, [
'associated' => ['Tags', 'Comments']
]);
$articles->save($article, [
@@ -109,5 +109,5 @@ $articles->delete($article);

## Additional Documentation

Consult [the CakePHP documentation](http://book.cakephp.org/3.0/en/orm.html)
Consult [the CakePHP ORM documentation](http://book.cakephp.org/3.0/en/orm.html)
for more in-depth documentation.

0 comments on commit 3e7c48f

Please sign in to comment.
You can’t perform that action at this time.