Issues (134)

src/api/parameter.php (1 issue)

Severity
1
<?php
2
/**
3
 * @author CONTENT CONTROL http://www.contentcontrol-berlin.de/
4
 * @copyright CONTENT CONTROL http://www.contentcontrol-berlin.de/
5
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License
6
 */
7
8
namespace midgard\portable\api;
9
10
/**
11
 * @property integer $id Local non-replication-safe database identifier
12
 * @property string $domain Namespace of the parameter
13
 * @property string $name Key of the parameter
14
 * @property string $value Value of the parameter
15
 * @property string $parentguid GUID of the object the parameter extends
16
 * @property string $guid
17
 */
18
class parameter extends mgdobject
19
{
20
    private int $id = 0;
0 ignored issues
show
The private property $id is not used, and could be removed.
Loading history...
21
    protected string $guid = '';
22
23
    protected $domain = '';
24
    protected $name = '';
25
    protected $value = '';
26
    protected $parentguid = '';
27
28 2
    public function get_label() : string
29
    {
30 2
        return $this->domain . " " . $this->name;
31
    }
32
}
33