public function __destruct()
 {
     foreach ($this as $key => $val) {
         if (is_object($this->{$key})) {
             unset($this->{$key});
         }
     }
     parent::__destruct();
 }
Example #2
0
 public function __destruct()
 {
     //echo 'Name değişken içeriği boşaltıldı.';
     //unset($this->name);
     parent::__destruct();
 }
Example #3
0
 public function __destruct()
 {
     parent::__destruct();
 }