Read-only property is marked as writeable.
<?php
use Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor;
require __DIR__ . '/vendor/autoload.php';
$extractor = new ReflectionExtractor();
class Foo {
public readonly string $name;
}
var_dump($extractor->isWritable(Foo::class, 'name'));