public function parse()
    {
        $args = $this->formatInputArguments();

        foreach ($args as $key => $value) {
            if ('--' === substr($value, 0, 2)) {
                $this->parseOption(substr($value, 2));
            } else if ('-' === substr($value, 0, 1)) {
                $this->parseOption(substr($value, 1));
            } else {
                $this->parseArgument($value);
            }
        }
    }
public function parse()
    {
        $args = $this->formatInputArguments();

        foreach ($args as $key => $value) {
            if ('--' === substr($value, 0, 2)) {
                $this->parseOption(substr($value, 2));
            } else if ('-' === substr($value, 0, 1)) {
                $this->parseOption(substr($value, 1));
            } else {
                $this->parseArgument($value);
            }
        }
    }
public function parse ( ) { $ args = $ this -> formatInputArguments ( ) ; foreach ( $ args as $ key => $ value ) { if ( '--' === substr ( $ value , 0 , 2 ) ) { $ this -> parseOption ( substr ( $ value , 2 ) ) ; } else if ( '-' === substr ( $ value , 0 , 1 ) ) { $ this -> parseOption ( substr ( $ value , 1 ) ) ; } else { $ this -> parseArgument ( $ value ) ; } } }
Parse CLI input arguments.

@return void
Parse CLI input arguments .