This attribute is the equivalent of the @immutable
annotation for classes, traits and interfaces.
The attribute accepts no arguments.
<?php
use PhpStaticAnalysis\Attributes\Immutable;
#[Immutable] // All properties are readonly
class ImmutableExample
{
...
}