DealerBrandLinkEvent   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 24
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDealerBrandLink() 0 4 1
A setDealerBrandLink() 0 4 1
1
<?php
2
/*************************************************************************************/
3
/*      This file is part of the Thelia package.                                     */
4
/*                                                                                   */
5
/*      Copyright (c) OpenStudio                                                     */
6
/*      email : [email protected]                                                       */
7
/*      web : http://www.thelia.net                                                  */
8
/*                                                                                   */
9
/*      For the full copyright and license information, please view the LICENSE.txt  */
10
/*      file that was distributed with this source code.                             */
11
/*************************************************************************************/
12
/*************************************************************************************/
13
14
namespace Dealer\Event;
15
16
use Dealer\Model\DealerBrand;
17
use Symfony\Component\EventDispatcher\Event;
18
19
/**
20
 * Class DealerBrandLinkEvent
21
 * @package Dealer\Event
22
 */
23
class DealerBrandLinkEvent extends Event
24
{
25
26
    /**
27
     * @var DealerBrand $dealerBrandLink
28
     */
29
    protected $dealerBrandLink;
30
31
    /**
32
     * @return DealerBrand
33
     */
34
    public function getDealerBrandLink()
35
    {
36
        return $this->dealerBrandLink;
37
    }
38
39
    /**
40
     * @param DealerBrand $dealerBrandLink
41
     */
42
    public function setDealerBrandLink($dealerBrandLink)
43
    {
44
        $this->dealerBrandLink = $dealerBrandLink;
45
    }
46
}
47