original_string: public function move($options)
      {
          $to = null;
          if (is_string($options)) {
              $to = $options;
              $options = (array)$options;
          }
          $options += ['to' => $to, 'from' => $this->path, 'mode' => $this->mode, 'skip' => [], 'recursive' => true];
  
          if ($this->copy($options) && $this->delete($options['from'])) {
              return (bool)$this->cd($options['to']);
          }
  
          return false;
      }
code: public function move($options)
      {
          $to = null;
          if (is_string($options)) {
              $to = $options;
              $options = (array)$options;
          }
          $options += ['to' => $to, 'from' => $this->path, 'mode' => $this->mode, 'skip' => [], 'recursive' => true];
  
          if ($this->copy($options) && $this->delete($options['from'])) {
              return (bool)$this->cd($options['to']);
          }
  
          return false;
      }
code_tokens: public function move ( $ options ) { $ to = null ; if ( is_string ( $ options ) ) { $ to = $ options ; $ options = ( array ) $ options ; } $ options += [ 'to' => $ to , 'from' => $ this -> path , 'mode' => $ this -> mode , 'skip' => [ ] , 'recursive' => true ] ; if ( $ this -> copy ( $ options ) && $ this -> delete ( $ options [ 'from' ] ) ) { return ( bool ) $ this -> cd ( $ options [ 'to' ] ) ; } return false ; }
docstring: Recursive directory move.
  
  ### Options
  
  - `to` The directory to copy to.
  - `from` The directory to copy from, this will cause a cd() to occur, changing the results of pwd().
  - `chmod` The mode to copy the files/directories with.
  - `skip` Files/directories to skip.
  - `scheme` Folder::MERGE, Folder::OVERWRITE, Folder::SKIP
  - `recursive` Whether to copy recursively or not (default: true - recursive)
  
  @param array|string $options (to, from, chmod, skip, scheme)
  @return bool Success
docstring_tokens: Recursive directory move .