Showing 227 of 228 total issues
Line exceeds 120 characters; contains 259 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface addBusinessInterval(CarbonInterface $date, bool $open, $interval = null, $unit = null, int $options = 0) Add the given interval taking into account only open time
- Exclude checks
Line exceeds 120 characters; contains 267 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface addOpenHours(CarbonInterface $date, int $numberOfHours, int $options = 0) Add the given number of hours taking into account only open time.
- Exclude checks
Line exceeds 120 characters; contains 272 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface subOpenHours(CarbonInterface $date, int $numberOfHours, int $options = 0) Subtract the given number of hours taking into account only open time.
- Exclude checks
Line exceeds 120 characters; contains 281 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface closedOrNextOpen(CarbonInterface $date) Return current date-time if it's closed, else go to the next open date and time
- Exclude checks
Line exceeds 120 characters; contains 267 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface previousBusinessOpen(CarbonInterface $date) Go to the previous open date and time that is also not a holiday.
- Exclude checks
Line exceeds 120 characters; contains 309 characters Open
Open
* @method bool isBusinessClosed(CarbonInterface $date) Returns true if the business is closed or a holiday now (or current date and time) according to current
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
Open
$openingHours = $this->proceedConfig($config['opening-hours'] ?? $config['opening_hours'] ?? $config['openingHours'] ?? []);
- Exclude checks
Line exceeds 120 characters; contains 244 characters Open
Open
* @method bool isHoliday(CarbonInterface $date) Checks the date to see if it is a holiday.
- Exclude checks
Line exceeds 120 characters; contains 260 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface addOpenTime(CarbonInterface $date, $interval = null, $unit = null, int $options = 0) Add the given interval taking into account only open time.
- Exclude checks
Line exceeds 120 characters; contains 289 characters Open
Open
* @method \Carbon\CarbonInterval diffAsBusinessInterval(CarbonInterface $date, $date = null, int $options = 0) Return an interval with open/closed business time between the current date and an other
- Exclude checks
Line exceeds 120 characters; contains 263 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface subtractBusinessDays(CarbonInterface $date, $days = 1, $date = null) Subtract a given number of business days to the current date.
- Exclude checks
Line exceeds 120 characters; contains 260 characters Open
Open
* @method $this|null setHolidayGetter(CarbonInterface $date, callable $holidayGetter) Set the strategy to get the holiday ID from a date object.
- Exclude checks
Line exceeds 120 characters; contains 289 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface|null setHolidayName(CarbonInterface $date, $holidayKey = null, $language = null, $name = null) Set/change the name of holiday by ID for a given language (or a list of languages).
- Exclude checks
Line exceeds 120 characters; contains 275 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface openOrPreviousBusinessClose(CarbonInterface $date) Return current date-time if it's open, else go to the previous close date
- Exclude checks
Line exceeds 120 characters; contains 243 characters Open
Open
* @method \Carbon\Carbon|\Carbon\CarbonImmutable|\Carbon\CarbonInterface addBusinessDay(CarbonInterface $date, $days = 1, $date = null) Add one business day to the current date.
- Exclude checks
Line exceeds 120 characters; contains 270 characters Open
Open
* @method array getMonthBusinessDays(CarbonInterface $date, $date = null) Get list of date objects for each business day in the current month.
- Exclude checks
Line exceeds 120 characters; contains 308 characters Open
Open
* @method bool isBusinessDay(CarbonInterface $date) Checks the date to see if it is a business day (extra workday or neither a weekend day nor a holiday).
- Exclude checks
Line exceeds 120 characters; contains 246 characters Open
Open
* @method string|null getObservedHolidaysZone(CarbonInterface $date) Get the selected zone for observed holidays.
- Exclude checks
Line exceeds 120 characters; contains 266 characters Open
Open
* @method $this|null setExtraWorkdayGetter(CarbonInterface $date, callable $workdayGetter) Set the strategy to get the extra workday ID from a date object.
- Exclude checks
Line exceeds 120 characters; contains 275 characters Open
Open
* @method string|false getHolidayId(CarbonInterface $date) Get the identifier of the current holiday or false if it's not a holiday.
- Exclude checks