original_string: public function ExtractDistinctValues($array) {
          foreach ($array as $key => $value) {
              $valueIsArray = is_array($value);
              $valueIsAlreadyExtracted = in_array($value, $this->List);
              $keyIsExtracted = in_array($key, $this->List);
              if (!$valueIsArray && !$valueIsAlreadyExtracted && !RegexHelper::Init($value)->StringContainsWhiteSpace()) {
                  array_push($this->List, $value);
              }
              if (!$keyIsExtracted && is_string($key) && !RegexHelper::Init($key)->StringContainsWhiteSpace()) {
                  array_push($this->List, $key);
              }
              if ($valueIsArray) {
                  $this->ExtractDistinctValues($value);
              }
          }
          return $this;
      }
code: public function ExtractDistinctValues($array) {
          foreach ($array as $key => $value) {
              $valueIsArray = is_array($value);
              $valueIsAlreadyExtracted = in_array($value, $this->List);
              $keyIsExtracted = in_array($key, $this->List);
              if (!$valueIsArray && !$valueIsAlreadyExtracted && !RegexHelper::Init($value)->StringContainsWhiteSpace()) {
                  array_push($this->List, $value);
              }
              if (!$keyIsExtracted && is_string($key) && !RegexHelper::Init($key)->StringContainsWhiteSpace()) {
                  array_push($this->List, $key);
              }
              if ($valueIsArray) {
                  $this->ExtractDistinctValues($value);
              }
          }
          return $this;
      }
code_tokens: public function ExtractDistinctValues ( $ array ) { foreach ( $ array as $ key => $ value ) { $ valueIsArray = is_array ( $ value ) ; $ valueIsAlreadyExtracted = in_array ( $ value , $ this -> List ) ; $ keyIsExtracted = in_array ( $ key , $ this -> List ) ; if ( ! $ valueIsArray && ! $ valueIsAlreadyExtracted && ! RegexHelper :: Init ( $ value ) -> StringContainsWhiteSpace ( ) ) { array_push ( $ this -> List , $ value ) ; } if ( ! $ keyIsExtracted && is_string ( $ key ) && ! RegexHelper :: Init ( $ key ) -> StringContainsWhiteSpace ( ) ) { array_push ( $ this -> List , $ key ) ; } if ( $ valueIsArray ) { $ this -> ExtractDistinctValues ( $ value ) ; } } return $ this ; }
docstring: Extracts distinct values from the array that don't contain whitespace.
  
  @param array $array The array to extract the values from
  @return \Puzzlout\Framework\Helpers\ArrayExtractionHelper The extrator instance.
docstring_tokens: Extracts distinct values from the array that don t contain whitespace .