| 1 | <?php |
||
| 31 | class SplitToArrayBehavior extends Behavior |
||
| 32 | { |
||
| 33 | /** |
||
| 34 | * @var array list of attributes to update |
||
| 35 | */ |
||
| 36 | public $attributes = []; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var string separator used to split the string |
||
| 40 | */ |
||
| 41 | public $separator = ' '; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @inheritdoc |
||
| 45 | */ |
||
| 46 | 21 | public function events() |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @since XXX |
||
| 56 | */ |
||
| 57 | 17 | public function updateAttribute() |
|
| 67 | |||
| 68 | } |
||
| 69 |