mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
ExtensibleSet: re-order public/protected methods
This commit is contained in:
parent
23dd4721ec
commit
e70de0a4af
@ -63,11 +63,6 @@ class ExtensibleSet
|
|||||||
return $this->resolvedValues;
|
return $this->resolvedValues;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function hasBeenResolved()
|
|
||||||
{
|
|
||||||
return $this->resolvedValues !== null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function inheritFrom(ExtensibleSet $parent)
|
public function inheritFrom(ExtensibleSet $parent)
|
||||||
{
|
{
|
||||||
if ($this->ownValues !== null) {
|
if ($this->ownValues !== null) {
|
||||||
@ -88,6 +83,17 @@ class ExtensibleSet
|
|||||||
return $this->recalculate();
|
return $this->recalculate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function forgetInheritedValues()
|
||||||
|
{
|
||||||
|
$this->inheritedValues = array();
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function hasBeenResolved()
|
||||||
|
{
|
||||||
|
return $this->resolvedValues !== null;
|
||||||
|
}
|
||||||
|
|
||||||
protected function stripBlacklistedValues($array)
|
protected function stripBlacklistedValues($array)
|
||||||
{
|
{
|
||||||
$this->removeValuesFrom($array, $this->minusValues);
|
$this->removeValuesFrom($array, $this->minusValues);
|
||||||
@ -95,12 +101,6 @@ class ExtensibleSet
|
|||||||
return $array;
|
return $array;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function forgetInheritedValues()
|
|
||||||
{
|
|
||||||
$this->inheritedValues = array();
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function assertValidValue($value)
|
protected function assertValidValue($value)
|
||||||
{
|
{
|
||||||
if (null === $this->allowedValues) {
|
if (null === $this->allowedValues) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user