mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-02-11 14:53:40 -05:00
15 lines
315 B
PHP
15 lines
315 B
PHP
<?php
|
|
|
|
namespace Icinga\Module\Director\CustomVariable;
|
|
|
|
class CustomVariableArray extends CustomVariable
|
|
{
|
|
public function equals(CustomVariable $var)
|
|
{
|
|
if (! $var instanceof CustomVariableArray) {
|
|
return false;
|
|
}
|
|
|
|
return $var->getValue() === $this->getValue();
|
|
}
|
|
}
|