Skip to content

Commit

Permalink
Minor DocBlock improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Sep 16, 2016
1 parent bcb2eae commit 1b101f7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/Cake/Model/Model.php
Expand Up @@ -473,9 +473,14 @@ class Model extends Object implements CakeEventListener {

/**
* List of behaviors to load when the model object is initialized. Settings can be
* passed to behaviors by using the behavior name as index. Eg:
* passed to behaviors by using the behavior name as index.
*
* public $actsAs = array('Translate', 'MyBehavior' => array('setting1' => 'value1'))
* For example:
*
* public $actsAs = array(
* 'Translate',
* 'MyBehavior' => array('setting1' => 'value1')
* );
*
* @var array
* @link http://book.cakephp.org/2.0/en/models/behaviors.html#using-behaviors
Expand Down

0 comments on commit 1b101f7

Please sign in to comment.