Yoast\WP\Lib

Abstract_Main::__unset()publicYoast 1.0

Prevents unsetting dynamic properties and unsetting declared properties from an inaccessible context.

Метод класса: Abstract_Main{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Abstract_Main = new Abstract_Main();
$Abstract_Main->__unset( $name );
$name(строка) (обязательный)
The property name.

Код Abstract_Main::__unset() Yoast 22.4

public function __unset( $name ) {
	throw Forbidden_Property_Mutation_Exception::cannot_unset_because_property_is_immutable( $name );
}