Cake\Chronos\ChronosInterface::firstOfMonth PHP Méthode

firstOfMonth() public méthode

Modify to the first occurrence of a given day of the week in the current month. If no dayOfWeek is provided, modify to the first day of the current month. Use the supplied consts to indicate the desired dayOfWeek, ex. static::MONDAY.
public firstOfMonth ( integer $dayOfWeek = null ) : mixed
$dayOfWeek integer The day of the week to move to.
Résultat mixed
    public function firstOfMonth($dayOfWeek = null);
ChronosInterface