Skip to content

Commit 04c9da6

Browse files
committed
Add setter
1 parent 4f41b33 commit 04c9da6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Logger.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ public function __get( $key ) {
4040
return null;
4141
}
4242

43+
public function __set( $key, $value ) {
44+
$this->definitions[ $key ] = $value;
45+
}
46+
4347
public function __isset( $key ) {
4448
return isset( $this->definitions[ $key ] );
4549
}

0 commit comments

Comments
 (0)