28 lines
560 B
PHP
28 lines
560 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* Copyright 2019 Netsyms Technologies.
|
||
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
||
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||
|
*/
|
||
|
|
||
|
|
||
|
class Client {
|
||
|
|
||
|
public $id = null;
|
||
|
public $name = null;
|
||
|
|
||
|
public function __construct($id, $name) {
|
||
|
$this->id = $id;
|
||
|
$this->name = $name;
|
||
|
}
|
||
|
|
||
|
public function getID() {
|
||
|
return $this->id;
|
||
|
}
|
||
|
|
||
|
public function getName() {
|
||
|
return $this->name;
|
||
|
}
|
||
|
}
|