WpOrg\Requests
Session::__get
Get a property's value
Метод класса: Session{}
Хуков нет.
Возвращает
mixed|null. Property value, null if none found
Использование
$Session = new Session(); $Session->__get( $name );
- $name(строка) (обязательный)
- Property name.
Код Session::__get() Session:: get WP 7.1.1
public function __get($name) {
if (isset($this->options[$name])) {
return $this->options[$name];
}
return null;
}