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