toalett-multiprocessing/bin/classes/Counter.php

12 lines
127 B
PHP

<?php
class Counter
{
public int $value = 0;
public function increment(): void
{
$this->value++;
}
}