toalett-multiprocessing/bin/classes/Counter.php

12 lines
127 B
PHP
Raw Permalink Normal View History

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