access promoted property in consctructor php code example
Example: php 8 constructor promotion
public function __construct(
public string $myProperty,
public string $myOtherProperty,
) {}
public function __construct(
public string $myProperty,
public string $myOtherProperty,
) {}