original_string: private function getDescriptors(): array
      {
          if ($this->input instanceof \Iterator) {
              $this->input->rewind();
          }
          if ('\\' === \DIRECTORY_SEPARATOR) {
              $this->processPipes = new WindowsPipes($this->input, !$this->outputDisabled || $this->hasCallback);
          } else {
              $this->processPipes = new UnixPipes($this->isTty(), $this->isPty(), $this->input, !$this->outputDisabled || $this->hasCallback);
          }
  
          return $this->processPipes->getDescriptors();
      }
code: private function getDescriptors(): array
      {
          if ($this->input instanceof \Iterator) {
              $this->input->rewind();
          }
          if ('\\' === \DIRECTORY_SEPARATOR) {
              $this->processPipes = new WindowsPipes($this->input, !$this->outputDisabled || $this->hasCallback);
          } else {
              $this->processPipes = new UnixPipes($this->isTty(), $this->isPty(), $this->input, !$this->outputDisabled || $this->hasCallback);
          }
  
          return $this->processPipes->getDescriptors();
      }
code_tokens: private function getDescriptors ( ) : array { if ( $ this -> input instanceof \ Iterator ) { $ this -> input -> rewind ( ) ; } if ( '\\' === \ DIRECTORY_SEPARATOR ) { $ this -> processPipes = new WindowsPipes ( $ this -> input , ! $ this -> outputDisabled || $ this -> hasCallback ) ; } else { $ this -> processPipes = new UnixPipes ( $ this -> isTty ( ) , $ this -> isPty ( ) , $ this -> input , ! $ this -> outputDisabled || $ this -> hasCallback ) ; } return $ this -> processPipes -> getDescriptors ( ) ; }
docstring: Creates the descriptors needed by the proc_open.
docstring_tokens: Creates the descriptors needed by the proc_open .