Makes private properties check-able for backward compatibility.
Parameters
$namestringrequired- The private member to check.
Source
public function __isset( $name ) {
return isset( $this->$name );
}
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
Makes private properties check-able for backward compatibility.
$namestringrequiredpublic function __isset( $name ) {
return isset( $this->$name );
}
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.