DealerProductLinkEvent   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 getDealerProductLink() 0 4 1
A setDealerProductLink() 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\DealerProduct;
17
use Symfony\Component\EventDispatcher\Event;
18
19
/**
20
 * Class DealerProductLinkEvent
21
 * @package Dealer\Event
22
 */
23
class DealerProductLinkEvent extends Event
24
{
25
26
    /**
27
     * @var DealerProduct $dealerProductLink
28
     */
29
    protected $dealerProductLink;
30
31
    /**
32
     * @return DealerProduct
33
     */
34
    public function getDealerProductLink()
35
    {
36
        return $this->dealerProductLink;
37
    }
38
39
    /**
40
     * @param DealerProduct $dealerProductLink
41
     */
42
    public function setDealerProductLink($dealerProductLink)
43
    {
44
        $this->dealerProductLink = $dealerProductLink;
45
    }
46
}
47