mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-05-10 09:40:11 +02:00
"Dynamic" is a more of a overstatement when describing this commit but the current implementation is just the start. Once our ldap protocol stuff supports our filter implementation this will be vastly improved. refs #8365
31 lines
500 B
PHP
31 lines
500 B
PHP
<?php
|
|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
|
|
|
namespace Icinga\Protocol\Ldap;
|
|
|
|
class Expression
|
|
{
|
|
protected $value;
|
|
|
|
public function __construct($value)
|
|
{
|
|
$this->value = $value;
|
|
}
|
|
|
|
public function setValue($value)
|
|
{
|
|
$this->value = $value;
|
|
return $this;
|
|
}
|
|
|
|
public function getValue()
|
|
{
|
|
return $this->value;
|
|
}
|
|
|
|
public function __toString()
|
|
{
|
|
return (string) $this->getValue();
|
|
}
|
|
}
|