Created
December 12, 2022 16:38
-
-
Save tararoutray/c4ea7c67fac2780f39ef25783e3a216f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
readonly class MyClass | |
{ | |
public readonly string $var1, | |
public readonly int $var2 | |
public readonly string $var3 | |
public readonly int $var4 | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment