Messenger
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 27
c 0
b 0
f 0
1
<?php
2
namespace Redaxscript\Admin\View\Helper;
3
4
use Redaxscript\View\Helper\Messenger as BaseMessenger;
5
6
/**
7
 * parent class to create a admin message
8
 *
9
 * @since 3.0.0
10
 *
11
 * @package Redaxscript
12
 * @category Messenger
13
 * @author Henry Ruhs
14
 * @author Balázs Szilágyi
15
 */
16
17
class Messenger extends BaseMessenger
18
{
19
	/**
20
	 * options of the messenger
21
	 *
22
	 * @var array
23
	 */
24
25
	protected $_optionArray =
26
	[
27
		'className' =>
28
		[
29
			'box' => 'rs-admin-box-note',
30
			'title' => 'rs-admin-title-note',
31
			'list' => 'rs-admin-list-note',
32
			'link' => 'rs-admin-button-note',
33
			'redirect' => 'rs-admin-meta-redirect',
34
			'note' =>
35
			[
36
				'success' => 'rs-admin-is-success',
37
				'warning' => 'rs-admin-is-warning',
38
				'error' => 'rs-admin-is-error',
39
				'info' => 'rs-admin-is-info'
40
			]
41
		]
42
	];
43
}