original_string: private function getPartsFromSegment(string $segment): array
      {
          $parts = explode(DIRECTORY_SEPARATOR, $segment);
  
          return array_filter($parts, function ($part) {
              return $this->isNotEmpty($part);
          });
      }
code: private function getPartsFromSegment(string $segment): array
      {
          $parts = explode(DIRECTORY_SEPARATOR, $segment);
  
          return array_filter($parts, function ($part) {
              return $this->isNotEmpty($part);
          });
      }
code_tokens: private function getPartsFromSegment ( string $ segment ) : array { $ parts = explode ( DIRECTORY_SEPARATOR , $ segment ) ; return array_filter ( $ parts , function ( $ part ) { return $ this -> isNotEmpty ( $ part ) ; } ) ; }
docstring: Separa un segmento en varias partes, cortando por DIRECTORY_SEPARATOR
  
  @param string $segment
  
  @return string[]
docstring_tokens: Separa un segmento en varias partes cortando por DIRECTORY_SEPARATOR