Makes private properties settable for backward compatibility.
Parameters
$name
stringrequired- Property to set.
$value
mixedrequired- Property value.
Source
public function __set( $name, $value ) {
return $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.