<?php
namespace Program;
class Block
{
public string $N;
/** @var Word[] */
public array $words;
public function __construct(string $N)
$this->N = $N;
$this->words = [];
}
public function addWord(Word $word): void
$this->words[] = $word;