Completed
Branch EDTR/refactor-master (6f4a48)
by
unknown
19:30 queued 10:54
created

AdminPageHeaderDecorator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace EventEspresso\core\services\admin;
4
5
use EventEspresso\core\services\request\RequestInterface;
6
7
/**
8
 * Class AdminPageHeaderDecorator
9
 * base class for admin page header decorators
10
 * uses Decorator pattern to apply changes to admin page header text
11
 *
12
 * @package EventEspresso\core\services\admin
13
 * @author  Brent Christensen
14
 * @since   $VID:$
15
 */
16
abstract class AdminPageHeaderDecorator implements AdminPageHeaderDecoratorInterface
17
{
18
19
    /**
20
     * @var RequestInterface $request
21
     */
22
    protected $request;
23
24
25
    /**
26
     * AdminPageHeader constructor.
27
     *
28
     * @param RequestInterface $request
29
     */
30
    public function __construct(RequestInterface $request)
31
    {
32
        $this->request = $request;
33
    }
34
}
35