DealerContactEvent   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDealerContact() 0 4 1
A setDealerContact() 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\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