Skip to content

Commit

Permalink
typo in ORM README
Browse files Browse the repository at this point in the history
  • Loading branch information
fiblan committed Jun 24, 2015
1 parent 1422d39 commit 3e7c48f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ORM/README.md
Expand Up @@ -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
Expand Down Expand Up @@ -85,7 +85,7 @@ $data = [
];

$articles = TableRegistry::get('Articles');
$article = $articles->newEnitity($data, [
$article = $articles->newEntity($data, [
'associated' => ['Tags', 'Comments']
]);
$articles->save($article, [
Expand All @@ -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.