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

previous() 공개 메소드

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