Appearance
CliArgumentsReader
php
final readonly class PPTXenigma\CliArgumentsReaderReads the arguments of the command line and checks that they go together.
Source: src/CliArgumentsReader.php
Methods
read()
php
public function read(array $arguments): CliArguments| Parameter | Description |
|---|---|
$arguments | the arguments, without the name of the script |
Throws InvalidArgumentException when an argument is not valid