Makes private properties settable for backward compatibility.
Parameters
$namestringrequired- Property to set.
$valuemixedrequired- Property value.
Source
public function __set( $name, $value ) {
$this->$name = $value;
}
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.