Makes private properties un-settable for backward compatibility.
Parameters
$name
stringrequired- Property to unset.
Source
public function __unset( $name ) {
unset( $this->$name );
}
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |
Makes private properties un-settable for backward compatibility.
$name
stringrequiredpublic function __unset( $name ) {
unset( $this->$name );
}
Version | Description |
---|---|
4.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.