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);
            }
        }
    }
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);
            }
        }
    }
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 ) ; } } }
set the args and options.
set the args and options .