Documentation

ConstructorPromotion
in package

Table of Contents

$name  : string
Summary
$email  : string
$birth_date  : DateTimeImmutable
__construct()  : mixed
Constructor with promoted properties

Properties

Methods

__construct()

Constructor with promoted properties

public __construct(string $name[, string $email = 'test@example.com' ], DateTimeImmutable $birth_date) : mixed
Parameters
$name : string

my docblock name

$email : string = 'test@example.com'
$birth_date : DateTimeImmutable
Return values
mixed

Search results