Work out which attributes are available to a DN

This commit is contained in:
2023-09-02 20:28:04 +10:00
parent 9d1d969113
commit 6d900d0964
4 changed files with 87 additions and 31 deletions

View File

@@ -46,6 +46,16 @@ abstract class Base {
}
}
public function __isset(string $key): bool
{
return isset($this->{$key});
}
public function __toString(): string
{
return $this->name;
}
/**
* @return string
* @deprecated replace with $class->description