Skip to content

Commit

Permalink
Add code fencing on example.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 16, 2016
1 parent a696d33 commit 835c709
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/Model/Model.php
Expand Up @@ -477,10 +477,12 @@ class Model extends Object implements CakeEventListener {
* *
* For example: * For example:
* *
* ```
* public $actsAs = array( * public $actsAs = array(
* 'Translate', * 'Translate',
* 'MyBehavior' => array('setting1' => 'value1') * 'MyBehavior' => array('setting1' => 'value1')
* ); * );
* ```
* *
* @var array * @var array
* @link http://book.cakephp.org/2.0/en/models/behaviors.html#using-behaviors * @link http://book.cakephp.org/2.0/en/models/behaviors.html#using-behaviors
Expand Down

0 comments on commit 835c709

Please sign in to comment.