for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace pjpawel\LightApi\Command\Output;
class Stdout implements OutputInterface
{
/**
* @inheritDoc
*/
public function write(string $text): void
echo $text;
}
public function writeln(array|string $text): void
if (is_array($text)) {
is_array($text)
true
echo implode(PHP_EOL, $text) . PHP_EOL;
} else {
echo $text . PHP_EOL;