DiscountAdmin
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 10
c 0
b 0
f 0
1
<?php
2
3
namespace Broarm\EventTickets;
4
5
use ModelAdmin;
6
7
/**
8
 * Class DiscountAdmin
9
 *
10
 * @property array   managed_models  An array of classnames to manage.
11
 * @property string  url_segment     The url section of this admin section.
12
 * @property string  menu_title      The menu title for this admin section.
13
 * @property string  menu_icon       The menu icon for this admin section.
14
 *
15
 * @author   bramdeleeuw
16
 * @package  nieuwspoort
17
 */
18
class DiscountAdmin extends ModelAdmin
19
{
20
    private static $managed_models = array('Broarm\EventTickets\Discount');
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
21
22
    private static $url_segment = 'discounts';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
23
24
    private static $menu_title = 'Ticket Discounts';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
25
26
    private static $menu_icon = '/event-tickets_discounts/images/discount.png';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
27
}
28