Menu

## WeekDay : int
in package

WeekDay.php : 18

### Table of Contents

#### Cases

Friday = 5
Monday = 1
Saturday = 6
Sunday
Thursday = 4
Tuesday = 2
Wednesday = 3

#### Methods

fromName() : self
fromNumber() : self
int() : int|null
locale() : CarbonImmutable
next() : CarbonImmutable

### Cases

#### Sunday

WeekDay.php : 21

#### Monday

WeekDay.php : 22

#### Tuesday

WeekDay.php : 23

#### Wednesday

WeekDay.php : 24

#### Thursday

WeekDay.php : 25

#### Friday

WeekDay.php : 26

#### Saturday

WeekDay.php : 27

### Methods

#### fromName()

WeekDay.php : 41
`public static fromName(string $name[, string|null $locale = null ]) : self`

##### Parameters

$name : string
$locale : string|null = null

##### Return values

self

#### fromNumber()

WeekDay.php : 34
`public static fromNumber(int $number) : self`

##### Parameters

$number : int

##### Return values

self

#### int()

WeekDay.php : 29
`public static int(self|int|null $value) : int|null`

##### Parameters

$value : self|int|null

##### Return values

int|null

#### locale()

WeekDay.php : 64
`public locale(string $locale[, CarbonImmutable|null $now = null ]) : CarbonImmutable`

##### Parameters

$locale : string
$now : CarbonImmutable|null = null

##### Return values

CarbonImmutable

#### next()

WeekDay.php : 59
`public next([CarbonImmutable|null $now = null ]) : CarbonImmutable`

##### Parameters

$now : CarbonImmutable|null = null

##### Return values

CarbonImmutable

## Search results