Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Aug 26, 2018
1 parent be8b042 commit 20c5aaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ORM/README.md
Expand Up @@ -165,7 +165,7 @@ Cache::setConfig('_cake_model_', $cacheConfig);
## Creating Custom Table and Entity Classes

By default, the Cake ORM uses the `\Cake\ORM\Table` and `\Cake\ORM\Entity` classes to
intercat with the database. While using the default classes makes sense for
interact with the database. While using the default classes makes sense for
quick scripts and small applications, you will often want to use your own
classes for adding your custom logic.

Expand All @@ -186,7 +186,7 @@ class ArticlesTable extends Table
public function initialize()
{
$this->setEntityClass(Article::class);
$this->belongsTo('Users', ['className' => UsersTable::class]);
$this->belongsTo('Users', ['className' => UsersTable::class]);
}
}
```
Expand Down

0 comments on commit 20c5aaf

Please sign in to comment.