Skip to content

Commit

Permalink
Merge pull request cakephp#2338 from davidyell/patch-16
Browse files Browse the repository at this point in the history
Update behaviors.rst
  • Loading branch information
markstory committed Jan 29, 2015
2 parents 30aba4d + 55c5304 commit 551a939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/models/behaviors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ the 2nd parameter. This allows you to munge the method name for additional
information, much like ``Model::findAllByXX``. If the above behavior was
attached to a model the following would happen::

$model->doReleaseTheHounds('homer', 'lenny');
$model->doReleaseTheHounds('karl', 'lenny');

// would output
'ReleaseTheHounds', 'homer', 'lenny'
'ReleaseTheHounds', 'karl', 'lenny'

Behavior callbacks
==================
Expand Down

0 comments on commit 551a939

Please sign in to comment.