original_string: protected function setParams()
      {
          $this->params();
          //
          foreach ($this->params as $key => $value) {
              $cont = $this->strip($value);
              //
              if (Strings::length($cont) > 2) {
                  if ($cont[0] == '-' && $cont[1] == '-') {
                      $this->setOption($cont);
                  } elseif ($cont[0] != '-' && $cont[1] != '-') {
                      $this->setArgument($cont);
                  }
              } else {
                  $this->setArgument($cont);
              }
          }
      }
code: protected function setParams()
      {
          $this->params();
          //
          foreach ($this->params as $key => $value) {
              $cont = $this->strip($value);
              //
              if (Strings::length($cont) > 2) {
                  if ($cont[0] == '-' && $cont[1] == '-') {
                      $this->setOption($cont);
                  } elseif ($cont[0] != '-' && $cont[1] != '-') {
                      $this->setArgument($cont);
                  }
              } else {
                  $this->setArgument($cont);
              }
          }
      }
code_tokens: protected function setParams ( ) { $ this -> params ( ) ; // foreach ( $ this -> params as $ key => $ value ) { $ cont = $ this -> strip ( $ value ) ; // if ( Strings :: length ( $ cont ) > 2 ) { if ( $ cont [ 0 ] == '-' && $ cont [ 1 ] == '-' ) { $ this -> setOption ( $ cont ) ; } elseif ( $ cont [ 0 ] != '-' && $ cont [ 1 ] != '-' ) { $ this -> setArgument ( $ cont ) ; } } else { $ this -> setArgument ( $ cont ) ; } } }
docstring: set the args and options.
docstring_tokens: set the args and options .