Skip to content

Console ​

php
final readonly class StanislasPoisson\DevTools\Console

The command php-dev-tools.

Source: src/Console.php

Methods ​

__construct() ​

php
public function __construct(Runner $runner, string $root)

run() ​

php
public function run(array $arguments, callable $out, callable $err): int
ParameterDescription
$argumentsthe arguments, without the name of the script
$outwrites on the standard output
$errwrites on the standard error

Returns int 0 on success, the code of the first command that fails, or 2 when the command is not valid

Documentation of 1.1.1 , built from 671a0b4 on 1.1.1 by pipeline #38133304549 on 2026-10-10.