Skip to content

Commit

Permalink
Add setter
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed May 24, 2024
1 parent 4f41b33 commit 04c9da6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public function __get( $key ) {
return null;
}

public function __set( $key, $value ) {
$this->definitions[ $key ] = $value;
}

public function __isset( $key ) {
return isset( $this->definitions[ $key ] );
}
Expand Down

0 comments on commit 04c9da6

Please sign in to comment.