src/Command/Pattern.php
public function clean(StreamInterface $arguments): StreamInterface
    {
        return $this->inputs->reduce(
            $arguments,
            static function(StreamInterface $arguments, Option $option): StreamInterface {
                return $option->clean($arguments);
            }
        );
    }
public function clean(StreamInterface $arguments): StreamInterface
    {
        return $this->inputs->reduce(
            $arguments,
            static function(StreamInterface $arguments, Option $option): StreamInterface {
                return $option->clean($arguments);
            }
        );
    }
public function clean ( StreamInterface $ arguments ) : StreamInterface { return $ this -> inputs -> reduce ( $ arguments , static function ( StreamInterface $ arguments , Option $ option ) : StreamInterface { return $ option -> clean ( $ arguments ) ; } ) ; }
Remove all options from the list of arguments so the arguments can be
correctly extracted

@param StreamInterface<string> $arguments

@return StreamInterface<string>
Remove all options from the list of arguments so the arguments can be correctly extracted