private static function parseOptions(array $arguments):array
    {
        $options = [];
        foreach ($arguments as $one) {
            if (strpos($one, '--') !== false && strlen($one) > 2) {
                $options[] = $one;
            }
        }
        return ($options);
    }
private static function parseOptions(array $arguments):array
    {
        $options = [];
        foreach ($arguments as $one) {
            if (strpos($one, '--') !== false && strlen($one) > 2) {
                $options[] = $one;
            }
        }
        return ($options);
    }
private static function parseOptions ( array $ arguments ) : array { $ options = [ ] ; foreach ( $ arguments as $ one ) { if ( strpos ( $ one , '--' ) !== false && strlen ( $ one ) > 2 ) { $ options [ ] = $ one ; } } return ( $ options ) ; }
Parse options on console
@param array $arguments All element in console
@return array The options on console
Parse options on console