mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Add code fencing on example.
This commit is contained in:
parent
a696d33bb0
commit
835c709dfd
1 changed files with 2 additions and 0 deletions
|
@ -477,10 +477,12 @@ class Model extends Object implements CakeEventListener {
|
|||
*
|
||||
* 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
|
||||
|
|
Loading…
Add table
Reference in a new issue