Skip to content

Commit 0f9fee0

Browse files
committed
Update docblock
1 parent 308c65b commit 0f9fee0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/Model/Behavior/TagBehavior.php

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@
77
use Cake\Utility\Text;
88
use RuntimeException;
99

10+
/**
11+
* Tag Behavior
12+
*/
1013
class TagBehavior extends Behavior
1114
{
1215
/**
13-
* Configuration.
16+
* Configuration Options
17+
* - delimiter: The delimiter used to explode() the tags. Default is comma.
18+
* - separator: Namespace separator, by default semicolon.
1419
*
1520
* @var array
1621
*/
@@ -31,9 +36,9 @@ class TagBehavior extends Behavior
3136
'taggedAssoc' => [
3237
'className' => 'Muffin/Tags.Tagged',
3338
],
34-
'taggedCounter' => ['tag_count' => [
35-
'conditions' => [],
36-
]],
39+
'taggedCounter' => [
40+
'tag_count' => ['conditions' => []],
41+
],
3742
'implementedEvents' => [
3843
'Model.beforeMarshal' => 'beforeMarshal',
3944
],

0 commit comments

Comments
 (0)