/** * Removes property. * @param string property name * @return void * @throws Nette\MemberAccessException */ public function __unset($name) { Nette\Utils\ObjectMixin::remove($this, $name); }
/** * Access to undeclared property. * * @param string $name * * @throws \Nette\MemberAccessException * @return void */ public function __unset($name) { ObjectMixin::remove($this, $name); }
/** * Access to undeclared property. * * @param string $name * * @throws \Nette\MemberAccessException * @return void */ public function __unset($name) { if ($name === '_conn') { $this->{$name} = NULL; return; } ObjectMixin::remove($this, $name); }