original_string: protected function _invokeReset($name)
      {
          if (!self::__isInvokable($name)) {
              return $this;
          }
          $is_static = self::__isStatic($name);
          $property = $this->findPropertyName($name);
          if (!empty($property)) {
              if ($is_static) {
                  return $this->_invokeUnset($name);
              } else {
                  $classname = get_class($this);
                  $reflection = new ReflectionClass($classname);
                  $properties = $reflection->getDefaultProperties();
                  if (!empty($properties) && array_key_exists($property, $properties)) {
                      $this->{$property} = $properties[$property];
                  }
              }
          }        
          return $this;
      }
code: protected function _invokeReset($name)
      {
          if (!self::__isInvokable($name)) {
              return $this;
          }
          $is_static = self::__isStatic($name);
          $property = $this->findPropertyName($name);
          if (!empty($property)) {
              if ($is_static) {
                  return $this->_invokeUnset($name);
              } else {
                  $classname = get_class($this);
                  $reflection = new ReflectionClass($classname);
                  $properties = $reflection->getDefaultProperties();
                  if (!empty($properties) && array_key_exists($property, $properties)) {
                      $this->{$property} = $properties[$property];
                  }
              }
          }        
          return $this;
      }
code_tokens: protected function _invokeReset ( $ name ) { if ( ! self :: __isInvokable ( $ name ) ) { return $ this ; } $ is_static = self :: __isStatic ( $ name ) ; $ property = $ this -> findPropertyName ( $ name ) ; if ( ! empty ( $ property ) ) { if ( $ is_static ) { return $ this -> _invokeUnset ( $ name ) ; } else { $ classname = get_class ( $ this ) ; $ reflection = new ReflectionClass ( $ classname ) ; $ properties = $ reflection -> getDefaultProperties ( ) ; if ( ! empty ( $ properties ) && array_key_exists ( $ property , $ properties ) ) { $ this -> { $ property } = $ properties [ $ property ] ; } } } return $ this ; }
docstring: Internal magic re-setter
  
  Magic method called when `resetProp(arg, value)` is invoked. As this can not work on
  statics, in this case it is an alias of `unset`.
  
  @param string $name The name of the property to get
  @return self Returns `$this` for method chaining
docstring_tokens: Internal magic re - setter