Skip to content

CliArgumentsReader ​

php
final readonly class PPTXenigma\CliArgumentsReader

Reads 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
ParameterDescription
$argumentsthe arguments, without the name of the script

Throws InvalidArgumentException when an argument is not valid

Documentation of 1.0.0 , built from 5dd2e99 on 1.0.0 by pipeline #37507528046 on 2026-10-06.