mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-18 06:11:20 +08:00
Add setter
This commit is contained in:
parent
4f41b336e0
commit
04c9da64ae
1 changed files with 4 additions and 0 deletions
|
@ -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 ] );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue