PHP 8.3.31
Preview: Date.php Size: 5.34 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Support/Facades/Date.php

<?php

namespace Illuminate\Support\Facades;

use Illuminate\Support\DateFactory;

/**
 * @see https://carbon.nesbot.com/docs/
 * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php
 *
 * @method static mixed use(mixed $handler)
 * @method static void useDefault()
 * @method static void useCallable(callable $callable)
 * @method static void useClass(string $dateClass)
 * @method static void useFactory(object $factory)
 * @method static \Illuminate\Support\Carbon create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null)
 * @method static \Illuminate\Support\Carbon createFromDate($year = null, $month = null, $day = null, $tz = null)
 * @method static \Illuminate\Support\Carbon|false createFromFormat($format, $time, $tz = null)
 * @method static \Illuminate\Support\Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null)
 * @method static \Illuminate\Support\Carbon createFromTimeString($time, $tz = null)
 * @method static \Illuminate\Support\Carbon createFromTimestamp($timestamp, $tz = null)
 * @method static \Illuminate\Support\Carbon createFromTimestampMs($timestamp, $tz = null)
 * @method static \Illuminate\Support\Carbon createFromTimestampUTC($timestamp)
 * @method static \Illuminate\Support\Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null)
 * @method static \Illuminate\Support\Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null)
 * @method static void disableHumanDiffOption($humanDiffOption)
 * @method static void enableHumanDiffOption($humanDiffOption)
 * @method static mixed executeWithLocale($locale, $func)
 * @method static \Illuminate\Support\Carbon fromSerialized($value)
 * @method static array getAvailableLocales()
 * @method static array getDays()
 * @method static int getHumanDiffOptions()
 * @method static array getIsoUnits()
 * @method static array getLastErrors()
 * @method static string getLocale()
 * @method static int getMidDayAt()
 * @method static \Illuminate\Support\Carbon|null getTestNow()
 * @method static \Symfony\Component\Translation\TranslatorInterface getTranslator()
 * @method static int getWeekEndsAt()
 * @method static int getWeekStartsAt()
 * @method static array getWeekendDays()
 * @method static bool hasFormat($date, $format)
 * @method static bool hasMacro($name)
 * @method static bool hasRelativeKeywords($time)
 * @method static bool hasTestNow()
 * @method static \Illuminate\Support\Carbon instance($date)
 * @method static bool isImmutable()
 * @method static bool isModifiableUnit($unit)
 * @method static bool isMutable()
 * @method static bool isStrictModeEnabled()
 * @method static bool localeHasDiffOneDayWords($locale)
 * @method static bool localeHasDiffSyntax($locale)
 * @method static bool localeHasDiffTwoDayWords($locale)
 * @method static bool localeHasPeriodSyntax($locale)
 * @method static bool localeHasShortUnits($locale)
 * @method static void macro($name, $macro)
 * @method static \Illuminate\Support\Carbon|null make($var)
 * @method static \Illuminate\Support\Carbon maxValue()
 * @method static \Illuminate\Support\Carbon minValue()
 * @method static void mixin($mixin)
 * @method static \Illuminate\Support\Carbon now($tz = null)
 * @method static \Illuminate\Support\Carbon parse($time = null, $tz = null)
 * @method static string pluralUnit(string $unit)
 * @method static void resetMonthsOverflow()
 * @method static void resetToStringFormat()
 * @method static void resetYearsOverflow()
 * @method static void serializeUsing($callback)
 * @method static void setHumanDiffOptions($humanDiffOptions)
 * @method static bool setLocale($locale)
 * @method static void setMidDayAt($hour)
 * @method static void setTestNow($testNow = null)
 * @method static void setToStringFormat($format)
 * @method static void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator)
 * @method static void setUtf8($utf8)
 * @method static void setWeekEndsAt($day)
 * @method static void setWeekStartsAt($day)
 * @method static void setWeekendDays($days)
 * @method static bool shouldOverflowMonths()
 * @method static bool shouldOverflowYears()
 * @method static string singularUnit(string $unit)
 * @method static \Illuminate\Support\Carbon today($tz = null)
 * @method static \Illuminate\Support\Carbon tomorrow($tz = null)
 * @method static void useMonthsOverflow($monthsOverflow = true)
 * @method static void useStrictMode($strictModeEnabled = true)
 * @method static void useYearsOverflow($yearsOverflow = true)
 * @method static \Illuminate\Support\Carbon yesterday($tz = null)
 *
 * @see \Illuminate\Support\DateFactory
 */
class Date extends Facade
{
    const DEFAULT_FACADE = DateFactory::class;

    /**
     * Get the registered name of the component.
     *
     * @return string
     *
     * @throws \RuntimeException
     */
    protected static function getFacadeAccessor()
    {
        return 'date';
    }

    /**
     * Resolve the facade root instance from the container.
     *
     * @param  string  $name
     * @return mixed
     */
    protected static function resolveFacadeInstance($name)
    {
        if (! isset(static::$resolvedInstance[$name]) && ! isset(static::$app, static::$app[$name])) {
            $class = static::DEFAULT_FACADE;

            static::swap(new $class);
        }

        return parent::resolveFacadeInstance($name);
    }
}

Directory Contents

Dirs: 0 × Files: 44

Name Size Perms Modified Actions
9.27 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.86 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.97 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.98 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.56 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.85 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.96 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.42 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.26 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.82 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.39 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
874 B lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.34 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.18 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.80 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.32 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
9.00 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.81 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.83 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.35 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
9.29 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.12 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.78 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.16 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.88 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.22 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.33 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.30 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.04 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.60 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.28 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.33 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.99 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
11.18 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.75 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.19 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
7.59 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.10 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.69 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.61 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.81 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.54 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.46 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.32 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).