Skip to content

Commit

Permalink
Documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Apr 27, 2014
1 parent 46b096f commit 38d467b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,6 @@ or if you need to set multiple properties at once:
$person->populate(['name' => 'Qux', 'language' => 'Lithuanian']);
```

## Naming Convention

* MOA model names are using [CamelCase](http://en.wikipedia.org/wiki/CamelCase) convention (e.g. `UserAgent`).
* Table names [must be singular](http://stackoverflow.com/a/809018/368691) (e.g. `user_agent` not `user_agents`) using underscore convention.

## Extending

### Mother
Expand Down Expand Up @@ -242,6 +237,11 @@ These methods can interrupt the respective transaction:
|`afterUpdate`|Triggered after `UPDATE` but before the transaction is commited.|
|`afterDelete`|Triggered after `DELETE` but before the transaction is commited.|

## Naming Convention

* MOA model names are using [CamelCase](http://en.wikipedia.org/wiki/CamelCase) convention (e.g. `UserAgent`).
* Table names [must be singular](http://stackoverflow.com/a/809018/368691) (e.g. `user_agent` not `user_agents`) using underscore convention.

## Builder Script

Models are built using `./bin/build.php` script, e.g. unit testing dependencies in this repository are built using:
Expand Down

0 comments on commit 38d467b

Please sign in to comment.