Skip to content

CliArguments ​

php
final readonly class PPTXenigma\CliArguments

The arguments of the command line, read and checked.

Source: src/CliArguments.php

Methods ​

__construct() ​

php
public function __construct(string $file = '', string $format = 'json', string $sign = Options::DEFAULT_SIGN, Duplicates $duplicates = Duplicates::Error, bool $help = false, string $speaker = null, string $split = null, ScriptOptions $scriptOptions = new ScriptOptions(), string $endSign = null)

parse() ​

php
public static function parse(array $arguments): self
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.