DealerContentLinkEvent   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDealerContentLink() 0 4 1
A setDealerContentLink() 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\DealerContent;
17
use Symfony\Component\EventDispatcher\Event;
18
19
/**
20
 * Class DealerContentLinkEvent
21
 * @package Dealer\Event
22
 */
23
class DealerContentLinkEvent extends Event
24
{
25
    /** @var  DealerContent $dealerContentLink */
26
    protected $dealerContentLink;
27
28
    /**
29
     * @return DealerContent
30
     */
31
    public function getDealerContentLink()
32
    {
33
        return $this->dealerContentLink;
34
    }
35
36
    /**
37
     * @param DealerContent $dealerContentLink
38
     */
39
    public function setDealerContentLink($dealerContentLink)
40
    {
41
        $this->dealerContentLink = $dealerContentLink;
42
    }
43
}
44