Completed
Push — master ( abc246...138cdf )
by Jean-Christophe
03:36
created

UserModel::setPassword()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Ajax\semantic\widgets\business\user;
4
5
class UserModel {
6
	protected $login="abc";
7
	protected $password="0000";
8
9
	public function getLogin() {
10
		return $this->login;
11
	}
12
13
	public function setLogin($login) {
14
		$this->login=$login;
15
		return $this;
16
	}
17
18
	public function getPassword() {
19
		return $this->password;
20
	}
21
22
	public function setPassword($password) {
23
		$this->password=$password;
24
		return $this;
25
	}
26
27
}