Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: Switch from master/slave in datasource readme
This also makes it slightly clearer that connections are arbitrarily named
  • Loading branch information
josegonzalez authored and ADmad committed Sep 16, 2018
1 parent fb90516 commit 279eb4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Datasource/README.md
Expand Up @@ -44,13 +44,13 @@ easy:
```php
use Cake\Datasource\ConnectionManager;

ConnectionManager::config('master', [
ConnectionManager::config('connection-one', [
'className' => 'MyApp\Connections\CustomConnection',
'param1' => 'value',
'param2' => 'another value'
]);

ConnectionManager::config('slave', [
ConnectionManager::config('connection-two', [
'className' => 'MyApp\Connections\CustomConnection',
'param1' => 'different value',
'param2' => 'another value'
Expand Down

0 comments on commit 279eb4b

Please sign in to comment.