mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 19:29:01 +02:00
16 lines
315 B
PHP
16 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();
|
|
}
|
|
}
|