Order   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 44
c 0
b 0
f 0
wmc 4
lcom 0
cbo 1
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getCustomer() 0 4 1
A setCustomer() 0 6 1
A getOrderNumber() 0 4 1
A setOrderNumber() 0 6 1
1
<?php
2
3
/**
4
 * m'Manager | Invoices Management System
5
 * 
6
 * This content is released under the Proprietary License (Proprietary)
7
 *
8
 * Copyright (c) 2017, Eric Claver AKAFFOU - All Rights Reserved
9
 * Unauthorized copying of this file, via any medium is strictly prohibited
10
 * Proprietary and confidential
11
 * 
12
 * @package m'Manager
13
 * @author  Eric Claver AKAFFOU
14
 * @copyright   Copyright (c) 2017, on'Eric Computing, Inc. (https://www.onericcomputing.com/)
15
 * @license https://www.mmanager.fr  Proprietary License
16
 * @link    https://codecanyon.net/item/mmanager-invoices-management-system/19866435?s_rank=1
17
 * @since   Version 1.0.0
18
 * @filesource
19
 */
20
21
namespace Mmanager\Domain\Entity;
22
use Mmanager\Domain\Entity\AbstractEntity;
23
/**
24
 * Customer Entity
25
 */
26
class Order extends AbstractEntity {
27
	protected $customer;
28
	protected $orderNumber;
29
	
30
	/**
31
	 * @return mixed
32
	 */
33
	public function getCustomer()
34
	{
35
		return $this->customer;
36
	}
37
38
	/**
39
	 * @param mixed $customer
40
	 *
41
	 * @return self
42
	 */
43
	public function setCustomer($customer)
44
	{
45
		$this->customer = $customer;
46
47
		return $this;
48
	}
49
50
	/**
51
	 * @return mixed
52
	 */
53
	public function getOrderNumber()
54
	{
55
		return $this->orderNumber;
56
	}
57
58
	/**
59
	 * @param mixed $orderNumber
60
	 *
61
	 * @return self
62
	 */
63
	public function setOrderNumber($orderNumber)
64
	{
65
		$this->orderNumber = $orderNumber;
66
67
		return $this;
68
	}
69
}