Cake\Chronos\ChronosInterface::firstOfYear PHP 메소드

firstOfYear() 공개 메소드

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