original_string: private function configureSlashPrefix(array $pieces): self
      {
          $first = array_shift($pieces);
  
          $pattern = sprintf('#^%s#', DIRECTORY_SEPARATOR);
          if (preg_match($pattern, $first)) {
              $this->prefix .= DIRECTORY_SEPARATOR;
          }
  
          return $this;
      }
code: private function configureSlashPrefix(array $pieces): self
      {
          $first = array_shift($pieces);
  
          $pattern = sprintf('#^%s#', DIRECTORY_SEPARATOR);
          if (preg_match($pattern, $first)) {
              $this->prefix .= DIRECTORY_SEPARATOR;
          }
  
          return $this;
      }
code_tokens: private function configureSlashPrefix ( array $ pieces ) : self { $ first = array_shift ( $ pieces ) ; $ pattern = sprintf ( '#^%s#' , DIRECTORY_SEPARATOR ) ; if ( preg_match ( $ pattern , $ first ) ) { $ this -> prefix .= DIRECTORY_SEPARATOR ; } return $ this ; }
docstring: Configura el normalizer para tratar con rutas absolutas
  
  @param string[] $pieces
  
  @return \PlanB\Type\Path\PathNormalizer
docstring_tokens: Configura el normalizer para tratar con rutas absolutas