__unset() public method
Sets an object property to null.
Do not call this method directly as it is a PHP magic method that will be implicitly called when executing unset($object->property)
.
Note that if the property is not defined, this method will do nothing. If the property is read-only, it will throw an exception.
public void __unset ( $name ) | ||
---|---|---|
$name | string |
The property name |
throws | yii\base\InvalidCallException |
if the property is read only. |
Please login to continue.