DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php 8 constructor promotion
public
function
__construct
(
public
string
$myProperty
,
public
string
$myOtherProperty
,
)
{
}
PREVIOUS
NEXT
Tagged:
#php
#constructor
#promotion
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit