DealerProductLinkEvent::setDealerProductLink()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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