Add setter

This commit is contained in:
Pascal Birchler 2024-05-24 10:50:11 +02:00
parent 4f41b336e0
commit 04c9da64ae
No known key found for this signature in database
GPG key ID: 0DECE73DD74E8B2F

View file

@ -40,6 +40,10 @@ class Logger {
return null;
}
public function __set( $key, $value ) {
$this->definitions[ $key ] = $value;
}
public function __isset( $key ) {
return isset( $this->definitions[ $key ] );
}