DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
nested attributes - PHP 8.1
class User { #[AssertAll( new AssertNotNull, new AssertLength(min: 6)) ] public string $name = ''; }
Source by www.php.net #
PREVIOUS
NEXT
Tagged:
#nested
#attributes
#PHP
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit