Remove the vendor directory in .gitignore as these dependencies are needed for php-imap
This commit is contained in:
154
plugins/php-imap/vendor/illuminate/support/Facades/App.php
vendored
Executable file
154
plugins/php-imap/vendor/illuminate/support/Facades/App.php
vendored
Executable file
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Foundation\Configuration\ApplicationBuilder configure(string|null $basePath = null)
|
||||
* @method static string inferBasePath()
|
||||
* @method static string version()
|
||||
* @method static void bootstrapWith(string[] $bootstrappers)
|
||||
* @method static void afterLoadingEnvironment(\Closure $callback)
|
||||
* @method static void beforeBootstrapping(string $bootstrapper, \Closure $callback)
|
||||
* @method static void afterBootstrapping(string $bootstrapper, \Closure $callback)
|
||||
* @method static bool hasBeenBootstrapped()
|
||||
* @method static \Illuminate\Foundation\Application setBasePath(string $basePath)
|
||||
* @method static string path(string $path = '')
|
||||
* @method static \Illuminate\Foundation\Application useAppPath(string $path)
|
||||
* @method static string basePath(string $path = '')
|
||||
* @method static string bootstrapPath(string $path = '')
|
||||
* @method static string getBootstrapProvidersPath()
|
||||
* @method static \Illuminate\Foundation\Application useBootstrapPath(string $path)
|
||||
* @method static string configPath(string $path = '')
|
||||
* @method static \Illuminate\Foundation\Application useConfigPath(string $path)
|
||||
* @method static string databasePath(string $path = '')
|
||||
* @method static \Illuminate\Foundation\Application useDatabasePath(string $path)
|
||||
* @method static string langPath(string $path = '')
|
||||
* @method static \Illuminate\Foundation\Application useLangPath(string $path)
|
||||
* @method static string publicPath(string $path = '')
|
||||
* @method static \Illuminate\Foundation\Application usePublicPath(string $path)
|
||||
* @method static string storagePath(string $path = '')
|
||||
* @method static \Illuminate\Foundation\Application useStoragePath(string $path)
|
||||
* @method static string resourcePath(string $path = '')
|
||||
* @method static string viewPath(string $path = '')
|
||||
* @method static string joinPaths(string $basePath, string $path = '')
|
||||
* @method static string environmentPath()
|
||||
* @method static \Illuminate\Foundation\Application useEnvironmentPath(string $path)
|
||||
* @method static \Illuminate\Foundation\Application loadEnvironmentFrom(string $file)
|
||||
* @method static string environmentFile()
|
||||
* @method static string environmentFilePath()
|
||||
* @method static string|bool environment(string|array ...$environments)
|
||||
* @method static bool isLocal()
|
||||
* @method static bool isProduction()
|
||||
* @method static string detectEnvironment(\Closure $callback)
|
||||
* @method static bool runningInConsole()
|
||||
* @method static bool runningConsoleCommand(string|array ...$commands)
|
||||
* @method static bool runningUnitTests()
|
||||
* @method static bool hasDebugModeEnabled()
|
||||
* @method static void registered(callable $callback)
|
||||
* @method static void registerConfiguredProviders()
|
||||
* @method static \Illuminate\Support\ServiceProvider register(\Illuminate\Support\ServiceProvider|string $provider, bool $force = false)
|
||||
* @method static \Illuminate\Support\ServiceProvider|null getProvider(\Illuminate\Support\ServiceProvider|string $provider)
|
||||
* @method static array getProviders(\Illuminate\Support\ServiceProvider|string $provider)
|
||||
* @method static \Illuminate\Support\ServiceProvider resolveProvider(string $provider)
|
||||
* @method static void loadDeferredProviders()
|
||||
* @method static void loadDeferredProvider(string $service)
|
||||
* @method static void registerDeferredProvider(string $provider, string|null $service = null)
|
||||
* @method static mixed make(string $abstract, array $parameters = [])
|
||||
* @method static bool bound(string $abstract)
|
||||
* @method static bool isBooted()
|
||||
* @method static void boot()
|
||||
* @method static void booting(callable $callback)
|
||||
* @method static void booted(callable $callback)
|
||||
* @method static \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, int $type = 1, bool $catch = true)
|
||||
* @method static void handleRequest(\Illuminate\Http\Request $request)
|
||||
* @method static int handleCommand(\Symfony\Component\Console\Input\InputInterface $input)
|
||||
* @method static bool shouldMergeFrameworkConfiguration()
|
||||
* @method static \Illuminate\Foundation\Application dontMergeFrameworkConfiguration()
|
||||
* @method static bool shouldSkipMiddleware()
|
||||
* @method static string getCachedServicesPath()
|
||||
* @method static string getCachedPackagesPath()
|
||||
* @method static bool configurationIsCached()
|
||||
* @method static string getCachedConfigPath()
|
||||
* @method static bool routesAreCached()
|
||||
* @method static string getCachedRoutesPath()
|
||||
* @method static bool eventsAreCached()
|
||||
* @method static string getCachedEventsPath()
|
||||
* @method static \Illuminate\Foundation\Application addAbsoluteCachePathPrefix(string $prefix)
|
||||
* @method static \Illuminate\Contracts\Foundation\MaintenanceMode maintenanceMode()
|
||||
* @method static bool isDownForMaintenance()
|
||||
* @method static never abort(int $code, string $message = '', array $headers = [])
|
||||
* @method static \Illuminate\Foundation\Application terminating(callable|string $callback)
|
||||
* @method static void terminate()
|
||||
* @method static array getLoadedProviders()
|
||||
* @method static bool providerIsLoaded(string $provider)
|
||||
* @method static array getDeferredServices()
|
||||
* @method static void setDeferredServices(array $services)
|
||||
* @method static void addDeferredServices(array $services)
|
||||
* @method static bool isDeferredService(string $service)
|
||||
* @method static void provideFacades(string $namespace)
|
||||
* @method static string getLocale()
|
||||
* @method static string currentLocale()
|
||||
* @method static string getFallbackLocale()
|
||||
* @method static void setLocale(string $locale)
|
||||
* @method static void setFallbackLocale(string $fallbackLocale)
|
||||
* @method static bool isLocale(string $locale)
|
||||
* @method static void registerCoreContainerAliases()
|
||||
* @method static void flush()
|
||||
* @method static string getNamespace()
|
||||
* @method static \Illuminate\Contracts\Container\ContextualBindingBuilder when(array|string $concrete)
|
||||
* @method static bool has(string $id)
|
||||
* @method static bool isShared(string $abstract)
|
||||
* @method static bool isAlias(string $name)
|
||||
* @method static void bind(string $abstract, \Closure|string|null $concrete = null, bool $shared = false)
|
||||
* @method static bool hasMethodBinding(string $method)
|
||||
* @method static void bindMethod(array|string $method, \Closure $callback)
|
||||
* @method static mixed callMethodBinding(string $method, mixed $instance)
|
||||
* @method static void addContextualBinding(string $concrete, string $abstract, \Closure|string $implementation)
|
||||
* @method static void bindIf(string $abstract, \Closure|string|null $concrete = null, bool $shared = false)
|
||||
* @method static void singleton(string $abstract, \Closure|string|null $concrete = null)
|
||||
* @method static void singletonIf(string $abstract, \Closure|string|null $concrete = null)
|
||||
* @method static void scoped(string $abstract, \Closure|string|null $concrete = null)
|
||||
* @method static void scopedIf(string $abstract, \Closure|string|null $concrete = null)
|
||||
* @method static void extend(string $abstract, \Closure $closure)
|
||||
* @method static mixed instance(string $abstract, mixed $instance)
|
||||
* @method static void tag(array|string $abstracts, array|mixed $tags)
|
||||
* @method static iterable tagged(string $tag)
|
||||
* @method static void alias(string $abstract, string $alias)
|
||||
* @method static mixed rebinding(string $abstract, \Closure $callback)
|
||||
* @method static mixed refresh(string $abstract, mixed $target, string $method)
|
||||
* @method static \Closure wrap(\Closure $callback, array $parameters = [])
|
||||
* @method static mixed call(callable|string $callback, array $parameters = [], string|null $defaultMethod = null)
|
||||
* @method static \Closure factory(string $abstract)
|
||||
* @method static mixed makeWith(string|callable $abstract, array $parameters = [])
|
||||
* @method static mixed get(string $id)
|
||||
* @method static mixed build(\Closure|string $concrete)
|
||||
* @method static void beforeResolving(\Closure|string $abstract, \Closure|null $callback = null)
|
||||
* @method static void resolving(\Closure|string $abstract, \Closure|null $callback = null)
|
||||
* @method static void afterResolving(\Closure|string $abstract, \Closure|null $callback = null)
|
||||
* @method static array getBindings()
|
||||
* @method static string getAlias(string $abstract)
|
||||
* @method static void forgetExtenders(string $abstract)
|
||||
* @method static void forgetInstance(string $abstract)
|
||||
* @method static void forgetInstances()
|
||||
* @method static void forgetScopedInstances()
|
||||
* @method static \Illuminate\Foundation\Application getInstance()
|
||||
* @method static \Illuminate\Contracts\Container\Container|\Illuminate\Foundation\Application setInstance(\Illuminate\Contracts\Container\Container|null $container = null)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Foundation\Application
|
||||
*/
|
||||
class App extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'app';
|
||||
}
|
||||
}
|
||||
39
plugins/php-imap/vendor/illuminate/support/Facades/Artisan.php
vendored
Executable file
39
plugins/php-imap/vendor/illuminate/support/Facades/Artisan.php
vendored
Executable file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract;
|
||||
|
||||
/**
|
||||
* @method static int handle(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface|null $output = null)
|
||||
* @method static void terminate(\Symfony\Component\Console\Input\InputInterface $input, int $status)
|
||||
* @method static void whenCommandLifecycleIsLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler)
|
||||
* @method static \Illuminate\Support\Carbon|null commandStartedAt()
|
||||
* @method static \Illuminate\Console\Scheduling\Schedule resolveConsoleSchedule()
|
||||
* @method static \Illuminate\Foundation\Console\ClosureCommand command(string $signature, \Closure $callback)
|
||||
* @method static void registerCommand(\Symfony\Component\Console\Command\Command $command)
|
||||
* @method static int call(string $command, array $parameters = [], \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer = null)
|
||||
* @method static \Illuminate\Foundation\Bus\PendingDispatch queue(string $command, array $parameters = [])
|
||||
* @method static array all()
|
||||
* @method static string output()
|
||||
* @method static void bootstrap()
|
||||
* @method static void bootstrapWithoutBootingProviders()
|
||||
* @method static void setArtisan(\Illuminate\Console\Application|null $artisan)
|
||||
* @method static \Illuminate\Foundation\Console\Kernel addCommands(array $commands)
|
||||
* @method static \Illuminate\Foundation\Console\Kernel addCommandPaths(array $paths)
|
||||
* @method static \Illuminate\Foundation\Console\Kernel addCommandRoutePaths(array $paths)
|
||||
*
|
||||
* @see \Illuminate\Foundation\Console\Kernel
|
||||
*/
|
||||
class Artisan extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return ConsoleKernelContract::class;
|
||||
}
|
||||
}
|
||||
98
plugins/php-imap/vendor/illuminate/support/Facades/Auth.php
vendored
Executable file
98
plugins/php-imap/vendor/illuminate/support/Facades/Auth.php
vendored
Executable file
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Laravel\Ui\UiServiceProvider;
|
||||
use RuntimeException;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard guard(string|null $name = null)
|
||||
* @method static \Illuminate\Auth\SessionGuard createSessionDriver(string $name, array $config)
|
||||
* @method static \Illuminate\Auth\TokenGuard createTokenDriver(string $name, array $config)
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static void shouldUse(string $name)
|
||||
* @method static void setDefaultDriver(string $name)
|
||||
* @method static \Illuminate\Auth\AuthManager viaRequest(string $driver, callable $callback)
|
||||
* @method static \Closure userResolver()
|
||||
* @method static \Illuminate\Auth\AuthManager resolveUsersUsing(\Closure $userResolver)
|
||||
* @method static \Illuminate\Auth\AuthManager extend(string $driver, \Closure $callback)
|
||||
* @method static \Illuminate\Auth\AuthManager provider(string $name, \Closure $callback)
|
||||
* @method static bool hasResolvedGuards()
|
||||
* @method static \Illuminate\Auth\AuthManager forgetGuards()
|
||||
* @method static \Illuminate\Auth\AuthManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static \Illuminate\Contracts\Auth\UserProvider|null createUserProvider(string|null $provider = null)
|
||||
* @method static string getDefaultUserProvider()
|
||||
* @method static bool check()
|
||||
* @method static bool guest()
|
||||
* @method static \Illuminate\Contracts\Auth\Authenticatable|null user()
|
||||
* @method static int|string|null id()
|
||||
* @method static bool validate(array $credentials = [])
|
||||
* @method static bool hasUser()
|
||||
* @method static \Illuminate\Contracts\Auth\Guard setUser(\Illuminate\Contracts\Auth\Authenticatable $user)
|
||||
* @method static bool attempt(array $credentials = [], bool $remember = false)
|
||||
* @method static bool once(array $credentials = [])
|
||||
* @method static void login(\Illuminate\Contracts\Auth\Authenticatable $user, bool $remember = false)
|
||||
* @method static \Illuminate\Contracts\Auth\Authenticatable|false loginUsingId(mixed $id, bool $remember = false)
|
||||
* @method static \Illuminate\Contracts\Auth\Authenticatable|false onceUsingId(mixed $id)
|
||||
* @method static bool viaRemember()
|
||||
* @method static void logout()
|
||||
* @method static \Symfony\Component\HttpFoundation\Response|null basic(string $field = 'email', array $extraConditions = [])
|
||||
* @method static \Symfony\Component\HttpFoundation\Response|null onceBasic(string $field = 'email', array $extraConditions = [])
|
||||
* @method static bool attemptWhen(array $credentials = [], array|callable|null $callbacks = null, bool $remember = false)
|
||||
* @method static void logoutCurrentDevice()
|
||||
* @method static \Illuminate\Contracts\Auth\Authenticatable|null logoutOtherDevices(string $password)
|
||||
* @method static void attempting(mixed $callback)
|
||||
* @method static \Illuminate\Contracts\Auth\Authenticatable getLastAttempted()
|
||||
* @method static string getName()
|
||||
* @method static string getRecallerName()
|
||||
* @method static \Illuminate\Auth\SessionGuard setRememberDuration(int $minutes)
|
||||
* @method static \Illuminate\Contracts\Cookie\QueueingFactory getCookieJar()
|
||||
* @method static void setCookieJar(\Illuminate\Contracts\Cookie\QueueingFactory $cookie)
|
||||
* @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher()
|
||||
* @method static void setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
|
||||
* @method static \Illuminate\Contracts\Session\Session getSession()
|
||||
* @method static \Illuminate\Contracts\Auth\Authenticatable|null getUser()
|
||||
* @method static \Symfony\Component\HttpFoundation\Request getRequest()
|
||||
* @method static \Illuminate\Auth\SessionGuard setRequest(\Symfony\Component\HttpFoundation\Request $request)
|
||||
* @method static \Illuminate\Support\Timebox getTimebox()
|
||||
* @method static \Illuminate\Contracts\Auth\Authenticatable authenticate()
|
||||
* @method static \Illuminate\Auth\SessionGuard forgetUser()
|
||||
* @method static \Illuminate\Contracts\Auth\UserProvider getProvider()
|
||||
* @method static void setProvider(\Illuminate\Contracts\Auth\UserProvider $provider)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Auth\AuthManager
|
||||
* @see \Illuminate\Auth\SessionGuard
|
||||
*/
|
||||
class Auth extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'auth';
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the typical authentication routes for an application.
|
||||
*
|
||||
* @param array $options
|
||||
* @return void
|
||||
*
|
||||
* @throws \RuntimeException
|
||||
*/
|
||||
public static function routes(array $options = [])
|
||||
{
|
||||
if (! static::$app->providerIsLoaded(UiServiceProvider::class)) {
|
||||
throw new RuntimeException('In order to use the Auth::routes() method, please install the laravel/ui package.');
|
||||
}
|
||||
|
||||
static::$app->make('router')->auth($options);
|
||||
}
|
||||
}
|
||||
61
plugins/php-imap/vendor/illuminate/support/Facades/Blade.php
vendored
Executable file
61
plugins/php-imap/vendor/illuminate/support/Facades/Blade.php
vendored
Executable file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static void compile(string|null $path = null)
|
||||
* @method static string getPath()
|
||||
* @method static void setPath(string $path)
|
||||
* @method static string compileString(string $value)
|
||||
* @method static string render(string $string, array $data = [], bool $deleteCachedView = false)
|
||||
* @method static string renderComponent(\Illuminate\View\Component $component)
|
||||
* @method static string stripParentheses(string $expression)
|
||||
* @method static void extend(callable $compiler)
|
||||
* @method static array getExtensions()
|
||||
* @method static void if(string $name, callable $callback)
|
||||
* @method static bool check(string $name, mixed ...$parameters)
|
||||
* @method static void component(string $class, string|null $alias = null, string $prefix = '')
|
||||
* @method static void components(array $components, string $prefix = '')
|
||||
* @method static array getClassComponentAliases()
|
||||
* @method static void anonymousComponentPath(string $path, string|null $prefix = null)
|
||||
* @method static void anonymousComponentNamespace(string $directory, string|null $prefix = null)
|
||||
* @method static void componentNamespace(string $namespace, string $prefix)
|
||||
* @method static array getAnonymousComponentPaths()
|
||||
* @method static array getAnonymousComponentNamespaces()
|
||||
* @method static array getClassComponentNamespaces()
|
||||
* @method static void aliasComponent(string $path, string|null $alias = null)
|
||||
* @method static void include(string $path, string|null $alias = null)
|
||||
* @method static void aliasInclude(string $path, string|null $alias = null)
|
||||
* @method static void directive(string $name, callable $handler)
|
||||
* @method static array getCustomDirectives()
|
||||
* @method static \Illuminate\View\Compilers\BladeCompiler prepareStringsForCompilationUsing(callable $callback)
|
||||
* @method static void precompiler(callable $precompiler)
|
||||
* @method static void setEchoFormat(string $format)
|
||||
* @method static void withDoubleEncoding()
|
||||
* @method static void withoutDoubleEncoding()
|
||||
* @method static void withoutComponentTags()
|
||||
* @method static string getCompiledPath(string $path)
|
||||
* @method static bool isExpired(string $path)
|
||||
* @method static string newComponentHash(string $component)
|
||||
* @method static string compileClassComponentOpening(string $component, string $alias, string $data, string $hash)
|
||||
* @method static string compileEndComponentClass()
|
||||
* @method static mixed sanitizeComponentAttribute(mixed $value)
|
||||
* @method static string compileEndOnce()
|
||||
* @method static void stringable(string|callable $class, callable|null $handler = null)
|
||||
* @method static string compileEchos(string $value)
|
||||
* @method static string applyEchoHandler(string $value)
|
||||
*
|
||||
* @see \Illuminate\View\Compilers\BladeCompiler
|
||||
*/
|
||||
class Blade extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'blade.compiler';
|
||||
}
|
||||
}
|
||||
50
plugins/php-imap/vendor/illuminate/support/Facades/Broadcast.php
vendored
Normal file
50
plugins/php-imap/vendor/illuminate/support/Facades/Broadcast.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract;
|
||||
|
||||
/**
|
||||
* @method static void routes(array|null $attributes = null)
|
||||
* @method static void userRoutes(array|null $attributes = null)
|
||||
* @method static void channelRoutes(array|null $attributes = null)
|
||||
* @method static string|null socket(\Illuminate\Http\Request|null $request = null)
|
||||
* @method static \Illuminate\Broadcasting\AnonymousEvent on(\Illuminate\Broadcasting\Channel|array|string $channels)
|
||||
* @method static \Illuminate\Broadcasting\AnonymousEvent private(string $channel)
|
||||
* @method static \Illuminate\Broadcasting\AnonymousEvent presence(string $channel)
|
||||
* @method static \Illuminate\Broadcasting\PendingBroadcast event(mixed|null $event = null)
|
||||
* @method static void queue(mixed $event)
|
||||
* @method static mixed connection(string|null $driver = null)
|
||||
* @method static mixed driver(string|null $name = null)
|
||||
* @method static \Pusher\Pusher pusher(array $config)
|
||||
* @method static \Ably\AblyRest ably(array $config)
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static void setDefaultDriver(string $name)
|
||||
* @method static void purge(string|null $name = null)
|
||||
* @method static \Illuminate\Broadcasting\BroadcastManager extend(string $driver, \Closure $callback)
|
||||
* @method static \Illuminate\Contracts\Foundation\Application getApplication()
|
||||
* @method static \Illuminate\Broadcasting\BroadcastManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static \Illuminate\Broadcasting\BroadcastManager forgetDrivers()
|
||||
* @method static mixed auth(\Illuminate\Http\Request $request)
|
||||
* @method static mixed validAuthenticationResponse(\Illuminate\Http\Request $request, mixed $result)
|
||||
* @method static void broadcast(array $channels, string $event, array $payload = [])
|
||||
* @method static array|null resolveAuthenticatedUser(\Illuminate\Http\Request $request)
|
||||
* @method static void resolveAuthenticatedUserUsing(\Closure $callback)
|
||||
* @method static \Illuminate\Broadcasting\Broadcasters\Broadcaster channel(\Illuminate\Contracts\Broadcasting\HasBroadcastChannel|string $channel, callable|string $callback, array $options = [])
|
||||
* @method static \Illuminate\Support\Collection getChannels()
|
||||
*
|
||||
* @see \Illuminate\Broadcasting\BroadcastManager
|
||||
* @see \Illuminate\Broadcasting\Broadcasters\Broadcaster
|
||||
*/
|
||||
class Broadcast extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return BroadcastingFactoryContract::class;
|
||||
}
|
||||
}
|
||||
97
plugins/php-imap/vendor/illuminate/support/Facades/Bus.php
vendored
Normal file
97
plugins/php-imap/vendor/illuminate/support/Facades/Bus.php
vendored
Normal file
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Bus\BatchRepository;
|
||||
use Illuminate\Contracts\Bus\Dispatcher as BusDispatcherContract;
|
||||
use Illuminate\Foundation\Bus\PendingChain;
|
||||
use Illuminate\Support\Testing\Fakes\BusFake;
|
||||
|
||||
/**
|
||||
* @method static mixed dispatch(mixed $command)
|
||||
* @method static mixed dispatchSync(mixed $command, mixed $handler = null)
|
||||
* @method static mixed dispatchNow(mixed $command, mixed $handler = null)
|
||||
* @method static \Illuminate\Bus\Batch|null findBatch(string $batchId)
|
||||
* @method static \Illuminate\Bus\PendingBatch batch(\Illuminate\Support\Collection|array|mixed $jobs)
|
||||
* @method static \Illuminate\Foundation\Bus\PendingChain chain(\Illuminate\Support\Collection|array $jobs)
|
||||
* @method static bool hasCommandHandler(mixed $command)
|
||||
* @method static bool|mixed getCommandHandler(mixed $command)
|
||||
* @method static mixed dispatchToQueue(mixed $command)
|
||||
* @method static void dispatchAfterResponse(mixed $command, mixed $handler = null)
|
||||
* @method static \Illuminate\Bus\Dispatcher pipeThrough(array $pipes)
|
||||
* @method static \Illuminate\Bus\Dispatcher map(array $map)
|
||||
* @method static \Illuminate\Support\Testing\Fakes\BusFake except(array|string $jobsToDispatch)
|
||||
* @method static void assertDispatched(string|\Closure $command, callable|int|null $callback = null)
|
||||
* @method static void assertDispatchedTimes(string|\Closure $command, int $times = 1)
|
||||
* @method static void assertNotDispatched(string|\Closure $command, callable|null $callback = null)
|
||||
* @method static void assertNothingDispatched()
|
||||
* @method static void assertDispatchedSync(string|\Closure $command, callable|int|null $callback = null)
|
||||
* @method static void assertDispatchedSyncTimes(string|\Closure $command, int $times = 1)
|
||||
* @method static void assertNotDispatchedSync(string|\Closure $command, callable|null $callback = null)
|
||||
* @method static void assertDispatchedAfterResponse(string|\Closure $command, callable|int|null $callback = null)
|
||||
* @method static void assertDispatchedAfterResponseTimes(string|\Closure $command, int $times = 1)
|
||||
* @method static void assertNotDispatchedAfterResponse(string|\Closure $command, callable|null $callback = null)
|
||||
* @method static void assertChained(array $expectedChain)
|
||||
* @method static void assertDispatchedWithoutChain(string|\Closure $command, callable|null $callback = null)
|
||||
* @method static \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest chainedBatch(\Closure $callback)
|
||||
* @method static void assertBatched(callable $callback)
|
||||
* @method static void assertBatchCount(int $count)
|
||||
* @method static void assertNothingBatched()
|
||||
* @method static \Illuminate\Support\Collection dispatched(string $command, callable|null $callback = null)
|
||||
* @method static \Illuminate\Support\Collection dispatchedSync(string $command, callable|null $callback = null)
|
||||
* @method static \Illuminate\Support\Collection dispatchedAfterResponse(string $command, callable|null $callback = null)
|
||||
* @method static \Illuminate\Support\Collection batched(callable $callback)
|
||||
* @method static bool hasDispatched(string $command)
|
||||
* @method static bool hasDispatchedSync(string $command)
|
||||
* @method static bool hasDispatchedAfterResponse(string $command)
|
||||
* @method static \Illuminate\Bus\Batch dispatchFakeBatch(string $name = '')
|
||||
* @method static \Illuminate\Bus\Batch recordPendingBatch(\Illuminate\Bus\PendingBatch $pendingBatch)
|
||||
* @method static \Illuminate\Support\Testing\Fakes\BusFake serializeAndRestore(bool $serializeAndRestore = true)
|
||||
*
|
||||
* @see \Illuminate\Bus\Dispatcher
|
||||
* @see \Illuminate\Support\Testing\Fakes\BusFake
|
||||
*/
|
||||
class Bus extends Facade
|
||||
{
|
||||
/**
|
||||
* Replace the bound instance with a fake.
|
||||
*
|
||||
* @param array|string $jobsToFake
|
||||
* @param \Illuminate\Bus\BatchRepository|null $batchRepository
|
||||
* @return \Illuminate\Support\Testing\Fakes\BusFake
|
||||
*/
|
||||
public static function fake($jobsToFake = [], ?BatchRepository $batchRepository = null)
|
||||
{
|
||||
$actualDispatcher = static::isFake()
|
||||
? static::getFacadeRoot()->dispatcher
|
||||
: static::getFacadeRoot();
|
||||
|
||||
return tap(new BusFake($actualDispatcher, $jobsToFake, $batchRepository), function ($fake) {
|
||||
static::swap($fake);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Dispatch the given chain of jobs.
|
||||
*
|
||||
* @param array|mixed $jobs
|
||||
* @return \Illuminate\Foundation\Bus\PendingDispatch
|
||||
*/
|
||||
public static function dispatchChain($jobs)
|
||||
{
|
||||
$jobs = is_array($jobs) ? $jobs : func_get_args();
|
||||
|
||||
return (new PendingChain(array_shift($jobs), $jobs))
|
||||
->dispatch();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return BusDispatcherContract::class;
|
||||
}
|
||||
}
|
||||
71
plugins/php-imap/vendor/illuminate/support/Facades/Cache.php
vendored
Executable file
71
plugins/php-imap/vendor/illuminate/support/Facades/Cache.php
vendored
Executable file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Contracts\Cache\Repository store(string|null $name = null)
|
||||
* @method static \Illuminate\Contracts\Cache\Repository driver(string|null $driver = null)
|
||||
* @method static \Illuminate\Contracts\Cache\Repository resolve(string $name)
|
||||
* @method static \Illuminate\Cache\Repository repository(\Illuminate\Contracts\Cache\Store $store, array $config = [])
|
||||
* @method static void refreshEventDispatcher()
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static void setDefaultDriver(string $name)
|
||||
* @method static \Illuminate\Cache\CacheManager forgetDriver(array|string|null $name = null)
|
||||
* @method static void purge(string|null $name = null)
|
||||
* @method static \Illuminate\Cache\CacheManager extend(string $driver, \Closure $callback)
|
||||
* @method static \Illuminate\Cache\CacheManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static bool has(array|string $key)
|
||||
* @method static bool missing(string $key)
|
||||
* @method static mixed get(array|string $key, mixed|\Closure $default = null)
|
||||
* @method static array many(array $keys)
|
||||
* @method static iterable getMultiple(iterable $keys, mixed $default = null)
|
||||
* @method static mixed pull(array|string $key, mixed|\Closure $default = null)
|
||||
* @method static bool put(array|string $key, mixed $value, \DateTimeInterface|\DateInterval|int|null $ttl = null)
|
||||
* @method static bool set(string $key, mixed $value, null|int|\DateInterval $ttl = null)
|
||||
* @method static bool putMany(array $values, \DateTimeInterface|\DateInterval|int|null $ttl = null)
|
||||
* @method static bool setMultiple(iterable $values, null|int|\DateInterval $ttl = null)
|
||||
* @method static bool add(string $key, mixed $value, \DateTimeInterface|\DateInterval|int|null $ttl = null)
|
||||
* @method static int|bool increment(string $key, mixed $value = 1)
|
||||
* @method static int|bool decrement(string $key, mixed $value = 1)
|
||||
* @method static bool forever(string $key, mixed $value)
|
||||
* @method static mixed remember(string $key, \Closure|\DateTimeInterface|\DateInterval|int|null $ttl, \Closure $callback)
|
||||
* @method static mixed sear(string $key, \Closure $callback)
|
||||
* @method static mixed rememberForever(string $key, \Closure $callback)
|
||||
* @method static bool forget(string $key)
|
||||
* @method static bool delete(string $key)
|
||||
* @method static bool deleteMultiple(iterable $keys)
|
||||
* @method static bool clear()
|
||||
* @method static \Illuminate\Cache\TaggedCache tags(array|mixed $names)
|
||||
* @method static bool supportsTags()
|
||||
* @method static int|null getDefaultCacheTime()
|
||||
* @method static \Illuminate\Cache\Repository setDefaultCacheTime(int|null $seconds)
|
||||
* @method static \Illuminate\Contracts\Cache\Store getStore()
|
||||
* @method static \Illuminate\Cache\Repository setStore(\Illuminate\Contracts\Cache\Store $store)
|
||||
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
|
||||
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static mixed macroCall(string $method, array $parameters)
|
||||
* @method static bool flush()
|
||||
* @method static string getPrefix()
|
||||
* @method static \Illuminate\Contracts\Cache\Lock lock(string $name, int $seconds = 0, string|null $owner = null)
|
||||
* @method static \Illuminate\Contracts\Cache\Lock restoreLock(string $name, string $owner)
|
||||
*
|
||||
* @see \Illuminate\Cache\CacheManager
|
||||
*
|
||||
* @mixin \Illuminate\Cache\Repository
|
||||
*/
|
||||
class Cache extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'cache';
|
||||
}
|
||||
}
|
||||
36
plugins/php-imap/vendor/illuminate/support/Facades/Config.php
vendored
Executable file
36
plugins/php-imap/vendor/illuminate/support/Facades/Config.php
vendored
Executable file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static bool has(string $key)
|
||||
* @method static mixed get(array|string $key, mixed $default = null)
|
||||
* @method static array getMany(array $keys)
|
||||
* @method static string string(string $key, \Closure|string|null $default = null)
|
||||
* @method static int integer(string $key, \Closure|int|null $default = null)
|
||||
* @method static float float(string $key, \Closure|float|null $default = null)
|
||||
* @method static bool boolean(string $key, \Closure|bool|null $default = null)
|
||||
* @method static array array(string $key, \Closure|array|null $default = null)
|
||||
* @method static void set(array|string $key, mixed $value = null)
|
||||
* @method static void prepend(string $key, mixed $value)
|
||||
* @method static void push(string $key, mixed $value)
|
||||
* @method static array all()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Config\Repository
|
||||
*/
|
||||
class Config extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'config';
|
||||
}
|
||||
}
|
||||
50
plugins/php-imap/vendor/illuminate/support/Facades/Context.php
vendored
Normal file
50
plugins/php-imap/vendor/illuminate/support/Facades/Context.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static bool has(string $key)
|
||||
* @method static bool hasHidden(string $key)
|
||||
* @method static array all()
|
||||
* @method static array allHidden()
|
||||
* @method static mixed get(string $key, mixed $default = null)
|
||||
* @method static mixed getHidden(string $key, mixed $default = null)
|
||||
* @method static mixed pull(string $key, mixed $default = null)
|
||||
* @method static mixed pullHidden(string $key, mixed $default = null)
|
||||
* @method static array only(array $keys)
|
||||
* @method static array onlyHidden(array $keys)
|
||||
* @method static \Illuminate\Log\Context\Repository add(string|array $key, mixed $value = null)
|
||||
* @method static \Illuminate\Log\Context\Repository addHidden(string|array $key, mixed $value = null)
|
||||
* @method static \Illuminate\Log\Context\Repository forget(string|array $key)
|
||||
* @method static \Illuminate\Log\Context\Repository forgetHidden(string|array $key)
|
||||
* @method static \Illuminate\Log\Context\Repository addIf(string $key, mixed $value)
|
||||
* @method static \Illuminate\Log\Context\Repository addHiddenIf(string $key, mixed $value)
|
||||
* @method static \Illuminate\Log\Context\Repository push(string $key, mixed ...$values)
|
||||
* @method static \Illuminate\Log\Context\Repository pushHidden(string $key, mixed ...$values)
|
||||
* @method static bool isEmpty()
|
||||
* @method static \Illuminate\Log\Context\Repository dehydrating(callable $callback)
|
||||
* @method static \Illuminate\Log\Context\Repository hydrated(callable $callback)
|
||||
* @method static \Illuminate\Log\Context\Repository handleUnserializeExceptionsUsing(callable|null $callback)
|
||||
* @method static \Illuminate\Log\Context\Repository flush()
|
||||
* @method static \Illuminate\Log\Context\Repository|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static \Illuminate\Log\Context\Repository|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static \Illuminate\Database\Eloquent\Model restoreModel(\Illuminate\Contracts\Database\ModelIdentifier $value)
|
||||
*
|
||||
* @see \Illuminate\Log\Context\Repository
|
||||
*/
|
||||
class Context extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return \Illuminate\Log\Context\Repository::class;
|
||||
}
|
||||
}
|
||||
58
plugins/php-imap/vendor/illuminate/support/Facades/Cookie.php
vendored
Executable file
58
plugins/php-imap/vendor/illuminate/support/Facades/Cookie.php
vendored
Executable file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Symfony\Component\HttpFoundation\Cookie make(string $name, string $value, int $minutes = 0, string|null $path = null, string|null $domain = null, bool|null $secure = null, bool $httpOnly = true, bool $raw = false, string|null $sameSite = null)
|
||||
* @method static \Symfony\Component\HttpFoundation\Cookie forever(string $name, string $value, string|null $path = null, string|null $domain = null, bool|null $secure = null, bool $httpOnly = true, bool $raw = false, string|null $sameSite = null)
|
||||
* @method static \Symfony\Component\HttpFoundation\Cookie forget(string $name, string|null $path = null, string|null $domain = null)
|
||||
* @method static bool hasQueued(string $key, string|null $path = null)
|
||||
* @method static \Symfony\Component\HttpFoundation\Cookie|null queued(string $key, mixed $default = null, string|null $path = null)
|
||||
* @method static void queue(mixed ...$parameters)
|
||||
* @method static void expire(string $name, string|null $path = null, string|null $domain = null)
|
||||
* @method static void unqueue(string $name, string|null $path = null)
|
||||
* @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string $path, string|null $domain, bool|null $secure = false, string|null $sameSite = null)
|
||||
* @method static \Symfony\Component\HttpFoundation\Cookie[] getQueuedCookies()
|
||||
* @method static \Illuminate\Cookie\CookieJar flushQueuedCookies()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Cookie\CookieJar
|
||||
*/
|
||||
class Cookie extends Facade
|
||||
{
|
||||
/**
|
||||
* Determine if a cookie exists on the request.
|
||||
*
|
||||
* @param string $key
|
||||
* @return bool
|
||||
*/
|
||||
public static function has($key)
|
||||
{
|
||||
return ! is_null(static::$app['request']->cookie($key, null));
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve a cookie from the request.
|
||||
*
|
||||
* @param string|null $key
|
||||
* @param mixed $default
|
||||
* @return string|array|null
|
||||
*/
|
||||
public static function get($key = null, $default = null)
|
||||
{
|
||||
return static::$app['request']->cookie($key, $default);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'cookie';
|
||||
}
|
||||
}
|
||||
30
plugins/php-imap/vendor/illuminate/support/Facades/Crypt.php
vendored
Executable file
30
plugins/php-imap/vendor/illuminate/support/Facades/Crypt.php
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static bool supported(string $key, string $cipher)
|
||||
* @method static string generateKey(string $cipher)
|
||||
* @method static string encrypt(mixed $value, bool $serialize = true)
|
||||
* @method static string encryptString(string $value)
|
||||
* @method static mixed decrypt(string $payload, bool $unserialize = true)
|
||||
* @method static string decryptString(string $payload)
|
||||
* @method static string getKey()
|
||||
* @method static array getAllKeys()
|
||||
* @method static array getPreviousKeys()
|
||||
* @method static \Illuminate\Encryption\Encrypter previousKeys(array $keys)
|
||||
*
|
||||
* @see \Illuminate\Encryption\Encrypter
|
||||
*/
|
||||
class Crypt extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'encrypter';
|
||||
}
|
||||
}
|
||||
142
plugins/php-imap/vendor/illuminate/support/Facades/DB.php
vendored
Normal file
142
plugins/php-imap/vendor/illuminate/support/Facades/DB.php
vendored
Normal file
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Database\Console\Migrations\FreshCommand;
|
||||
use Illuminate\Database\Console\Migrations\RefreshCommand;
|
||||
use Illuminate\Database\Console\Migrations\ResetCommand;
|
||||
use Illuminate\Database\Console\WipeCommand;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Database\Connection connection(string|null $name = null)
|
||||
* @method static \Illuminate\Database\ConnectionInterface connectUsing(string $name, array $config, bool $force = false)
|
||||
* @method static void purge(string|null $name = null)
|
||||
* @method static void disconnect(string|null $name = null)
|
||||
* @method static \Illuminate\Database\Connection reconnect(string|null $name = null)
|
||||
* @method static mixed usingConnection(string $name, callable $callback)
|
||||
* @method static string getDefaultConnection()
|
||||
* @method static void setDefaultConnection(string $name)
|
||||
* @method static string[] supportedDrivers()
|
||||
* @method static string[] availableDrivers()
|
||||
* @method static void extend(string $name, callable $resolver)
|
||||
* @method static void forgetExtension(string $name)
|
||||
* @method static array getConnections()
|
||||
* @method static void setReconnector(callable $reconnector)
|
||||
* @method static \Illuminate\Database\DatabaseManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static mixed macroCall(string $method, array $parameters)
|
||||
* @method static void useDefaultQueryGrammar()
|
||||
* @method static void useDefaultSchemaGrammar()
|
||||
* @method static void useDefaultPostProcessor()
|
||||
* @method static \Illuminate\Database\Schema\Builder getSchemaBuilder()
|
||||
* @method static \Illuminate\Database\Query\Builder table(\Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string $table, string|null $as = null)
|
||||
* @method static \Illuminate\Database\Query\Builder query()
|
||||
* @method static mixed selectOne(string $query, array $bindings = [], bool $useReadPdo = true)
|
||||
* @method static mixed scalar(string $query, array $bindings = [], bool $useReadPdo = true)
|
||||
* @method static array selectFromWriteConnection(string $query, array $bindings = [])
|
||||
* @method static array select(string $query, array $bindings = [], bool $useReadPdo = true)
|
||||
* @method static array selectResultSets(string $query, array $bindings = [], bool $useReadPdo = true)
|
||||
* @method static \Generator cursor(string $query, array $bindings = [], bool $useReadPdo = true)
|
||||
* @method static bool insert(string $query, array $bindings = [])
|
||||
* @method static int update(string $query, array $bindings = [])
|
||||
* @method static int delete(string $query, array $bindings = [])
|
||||
* @method static bool statement(string $query, array $bindings = [])
|
||||
* @method static int affectingStatement(string $query, array $bindings = [])
|
||||
* @method static bool unprepared(string $query)
|
||||
* @method static array pretend(\Closure $callback)
|
||||
* @method static mixed withoutPretending(\Closure $callback)
|
||||
* @method static void bindValues(\PDOStatement $statement, array $bindings)
|
||||
* @method static array prepareBindings(array $bindings)
|
||||
* @method static void logQuery(string $query, array $bindings, float|null $time = null)
|
||||
* @method static void whenQueryingForLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler)
|
||||
* @method static void allowQueryDurationHandlersToRunAgain()
|
||||
* @method static float totalQueryDuration()
|
||||
* @method static void resetTotalQueryDuration()
|
||||
* @method static void reconnectIfMissingConnection()
|
||||
* @method static \Illuminate\Database\Connection beforeStartingTransaction(\Closure $callback)
|
||||
* @method static \Illuminate\Database\Connection beforeExecuting(\Closure $callback)
|
||||
* @method static void listen(\Closure $callback)
|
||||
* @method static \Illuminate\Contracts\Database\Query\Expression raw(mixed $value)
|
||||
* @method static string escape(string|float|int|bool|null $value, bool $binary = false)
|
||||
* @method static bool hasModifiedRecords()
|
||||
* @method static void recordsHaveBeenModified(bool $value = true)
|
||||
* @method static \Illuminate\Database\Connection setRecordModificationState(bool $value)
|
||||
* @method static void forgetRecordModificationState()
|
||||
* @method static \Illuminate\Database\Connection useWriteConnectionWhenReading(bool $value = true)
|
||||
* @method static \PDO getPdo()
|
||||
* @method static \PDO|\Closure|null getRawPdo()
|
||||
* @method static \PDO getReadPdo()
|
||||
* @method static \PDO|\Closure|null getRawReadPdo()
|
||||
* @method static \Illuminate\Database\Connection setPdo(\PDO|\Closure|null $pdo)
|
||||
* @method static \Illuminate\Database\Connection setReadPdo(\PDO|\Closure|null $pdo)
|
||||
* @method static string|null getName()
|
||||
* @method static string|null getNameWithReadWriteType()
|
||||
* @method static mixed getConfig(string|null $option = null)
|
||||
* @method static string getDriverName()
|
||||
* @method static \Illuminate\Database\Query\Grammars\Grammar getQueryGrammar()
|
||||
* @method static \Illuminate\Database\Connection setQueryGrammar(\Illuminate\Database\Query\Grammars\Grammar $grammar)
|
||||
* @method static \Illuminate\Database\Schema\Grammars\Grammar getSchemaGrammar()
|
||||
* @method static \Illuminate\Database\Connection setSchemaGrammar(\Illuminate\Database\Schema\Grammars\Grammar $grammar)
|
||||
* @method static \Illuminate\Database\Query\Processors\Processor getPostProcessor()
|
||||
* @method static \Illuminate\Database\Connection setPostProcessor(\Illuminate\Database\Query\Processors\Processor $processor)
|
||||
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
|
||||
* @method static \Illuminate\Database\Connection setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
|
||||
* @method static void unsetEventDispatcher()
|
||||
* @method static \Illuminate\Database\Connection setTransactionManager(\Illuminate\Database\DatabaseTransactionsManager $manager)
|
||||
* @method static void unsetTransactionManager()
|
||||
* @method static bool pretending()
|
||||
* @method static array getQueryLog()
|
||||
* @method static array getRawQueryLog()
|
||||
* @method static void flushQueryLog()
|
||||
* @method static void enableQueryLog()
|
||||
* @method static void disableQueryLog()
|
||||
* @method static bool logging()
|
||||
* @method static string getDatabaseName()
|
||||
* @method static \Illuminate\Database\Connection setDatabaseName(string $database)
|
||||
* @method static \Illuminate\Database\Connection setReadWriteType(string|null $readWriteType)
|
||||
* @method static string getTablePrefix()
|
||||
* @method static \Illuminate\Database\Connection setTablePrefix(string $prefix)
|
||||
* @method static \Illuminate\Database\Grammar withTablePrefix(\Illuminate\Database\Grammar $grammar)
|
||||
* @method static string getServerVersion()
|
||||
* @method static void resolverFor(string $driver, \Closure $callback)
|
||||
* @method static mixed getResolver(string $driver)
|
||||
* @method static mixed transaction(\Closure $callback, int $attempts = 1)
|
||||
* @method static void beginTransaction()
|
||||
* @method static void commit()
|
||||
* @method static void rollBack(int|null $toLevel = null)
|
||||
* @method static int transactionLevel()
|
||||
* @method static void afterCommit(callable $callback)
|
||||
*
|
||||
* @see \Illuminate\Database\DatabaseManager
|
||||
*/
|
||||
class DB extends Facade
|
||||
{
|
||||
/**
|
||||
* Indicate if destructive Artisan commands should be prohibited.
|
||||
*
|
||||
* Prohibits: db:wipe, migrate:fresh, migrate:refresh, and migrate:reset
|
||||
*
|
||||
* @param bool $prohibit
|
||||
* @return void
|
||||
*/
|
||||
public static function prohibitDestructiveCommands(bool $prohibit = true)
|
||||
{
|
||||
FreshCommand::prohibit($prohibit);
|
||||
RefreshCommand::prohibit($prohibit);
|
||||
ResetCommand::prohibit($prohibit);
|
||||
WipeCommand::prohibit($prohibit);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'db';
|
||||
}
|
||||
}
|
||||
122
plugins/php-imap/vendor/illuminate/support/Facades/Date.php
vendored
Normal file
122
plugins/php-imap/vendor/illuminate/support/Facades/Date.php
vendored
Normal file
@@ -0,0 +1,122 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
130
plugins/php-imap/vendor/illuminate/support/Facades/Event.php
vendored
Executable file
130
plugins/php-imap/vendor/illuminate/support/Facades/Event.php
vendored
Executable file
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Testing\Fakes\EventFake;
|
||||
|
||||
/**
|
||||
* @method static void listen(\Closure|string|array $events, \Closure|string|array|null $listener = null)
|
||||
* @method static bool hasListeners(string $eventName)
|
||||
* @method static bool hasWildcardListeners(string $eventName)
|
||||
* @method static void push(string $event, object|array $payload = [])
|
||||
* @method static void flush(string $event)
|
||||
* @method static void subscribe(object|string $subscriber)
|
||||
* @method static mixed until(string|object $event, mixed $payload = [])
|
||||
* @method static array|null dispatch(string|object $event, mixed $payload = [], bool $halt = false)
|
||||
* @method static array getListeners(string $eventName)
|
||||
* @method static \Closure makeListener(\Closure|string|array $listener, bool $wildcard = false)
|
||||
* @method static \Closure createClassListener(string $listener, bool $wildcard = false)
|
||||
* @method static void forget(string $event)
|
||||
* @method static void forgetPushed()
|
||||
* @method static \Illuminate\Events\Dispatcher setQueueResolver(callable $resolver)
|
||||
* @method static \Illuminate\Events\Dispatcher setTransactionManagerResolver(callable $resolver)
|
||||
* @method static array getRawListeners()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static \Illuminate\Support\Testing\Fakes\EventFake except(array|string $eventsToDispatch)
|
||||
* @method static void assertListening(string $expectedEvent, string|array $expectedListener)
|
||||
* @method static void assertDispatched(string|\Closure $event, callable|int|null $callback = null)
|
||||
* @method static void assertDispatchedTimes(string $event, int $times = 1)
|
||||
* @method static void assertNotDispatched(string|\Closure $event, callable|null $callback = null)
|
||||
* @method static void assertNothingDispatched()
|
||||
* @method static \Illuminate\Support\Collection dispatched(string $event, callable|null $callback = null)
|
||||
* @method static bool hasDispatched(string $event)
|
||||
* @method static array dispatchedEvents()
|
||||
*
|
||||
* @see \Illuminate\Events\Dispatcher
|
||||
* @see \Illuminate\Support\Testing\Fakes\EventFake
|
||||
*/
|
||||
class Event extends Facade
|
||||
{
|
||||
/**
|
||||
* Replace the bound instance with a fake.
|
||||
*
|
||||
* @param array|string $eventsToFake
|
||||
* @return \Illuminate\Support\Testing\Fakes\EventFake
|
||||
*/
|
||||
public static function fake($eventsToFake = [])
|
||||
{
|
||||
$actualDispatcher = static::isFake()
|
||||
? static::getFacadeRoot()->dispatcher
|
||||
: static::getFacadeRoot();
|
||||
|
||||
return tap(new EventFake($actualDispatcher, $eventsToFake), function ($fake) {
|
||||
static::swap($fake);
|
||||
|
||||
Model::setEventDispatcher($fake);
|
||||
Cache::refreshEventDispatcher();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Replace the bound instance with a fake that fakes all events except the given events.
|
||||
*
|
||||
* @param string[]|string $eventsToAllow
|
||||
* @return \Illuminate\Support\Testing\Fakes\EventFake
|
||||
*/
|
||||
public static function fakeExcept($eventsToAllow)
|
||||
{
|
||||
return static::fake([
|
||||
function ($eventName) use ($eventsToAllow) {
|
||||
return ! in_array($eventName, (array) $eventsToAllow);
|
||||
},
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Replace the bound instance with a fake during the given callable's execution.
|
||||
*
|
||||
* @param callable $callable
|
||||
* @param array $eventsToFake
|
||||
* @return mixed
|
||||
*/
|
||||
public static function fakeFor(callable $callable, array $eventsToFake = [])
|
||||
{
|
||||
$originalDispatcher = static::getFacadeRoot();
|
||||
|
||||
static::fake($eventsToFake);
|
||||
|
||||
return tap($callable(), function () use ($originalDispatcher) {
|
||||
static::swap($originalDispatcher);
|
||||
|
||||
Model::setEventDispatcher($originalDispatcher);
|
||||
Cache::refreshEventDispatcher();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Replace the bound instance with a fake during the given callable's execution.
|
||||
*
|
||||
* @param callable $callable
|
||||
* @param array $eventsToAllow
|
||||
* @return mixed
|
||||
*/
|
||||
public static function fakeExceptFor(callable $callable, array $eventsToAllow = [])
|
||||
{
|
||||
$originalDispatcher = static::getFacadeRoot();
|
||||
|
||||
static::fakeExcept($eventsToAllow);
|
||||
|
||||
return tap($callable(), function () use ($originalDispatcher) {
|
||||
static::swap($originalDispatcher);
|
||||
|
||||
Model::setEventDispatcher($originalDispatcher);
|
||||
Cache::refreshEventDispatcher();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'events';
|
||||
}
|
||||
}
|
||||
68
plugins/php-imap/vendor/illuminate/support/Facades/Exceptions.php
vendored
Normal file
68
plugins/php-imap/vendor/illuminate/support/Facades/Exceptions.php
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Contracts\Debug\ExceptionHandler;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Testing\Fakes\ExceptionHandlerFake;
|
||||
|
||||
/**
|
||||
* @method static void register()
|
||||
* @method static \Illuminate\Foundation\Exceptions\ReportableHandler reportable(callable $reportUsing)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler renderable(callable $renderUsing)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler map(\Closure|string $from, \Closure|string|null $to = null)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler dontReport(array|string $exceptions)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler ignore(array|string $exceptions)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler dontFlash(array|string $attributes)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler level(string $type, void $level)
|
||||
* @method static void report(\Throwable $e)
|
||||
* @method static bool shouldReport(\Throwable $e)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler throttleUsing(callable $throttleUsing)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler stopIgnoring(array|string $exceptions)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler buildContextUsing(\Closure $contextCallback)
|
||||
* @method static \Symfony\Component\HttpFoundation\Response render(\Illuminate\Http\Request $request, \Throwable $e)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler respondUsing(callable $callback)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler shouldRenderJsonWhen(callable $callback)
|
||||
* @method static \Illuminate\Foundation\Exceptions\Handler dontReportDuplicates()
|
||||
* @method static \Illuminate\Contracts\Debug\ExceptionHandler handler()
|
||||
* @method static void assertNothingReported()
|
||||
* @method static void assertReported(\Closure|string $exception)
|
||||
* @method static void assertReportedCount(int $count)
|
||||
* @method static void assertNotReported(\Closure|string $exception)
|
||||
* @method static void renderForConsole(\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $e)
|
||||
* @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake throwFirstReported()
|
||||
* @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake setHandler(\Illuminate\Contracts\Debug\ExceptionHandler $handler)
|
||||
*
|
||||
* @see \Illuminate\Foundation\Exceptions\Handler
|
||||
* @see \Illuminate\Contracts\Debug\ExceptionHandler
|
||||
* @see \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
|
||||
*/
|
||||
class Exceptions extends Facade
|
||||
{
|
||||
/**
|
||||
* Replace the bound instance with a fake.
|
||||
*
|
||||
* @param array<int, class-string<\Throwable>>|class-string<\Throwable> $exceptions
|
||||
* @return \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake
|
||||
*/
|
||||
public static function fake(array|string $exceptions = [])
|
||||
{
|
||||
$exceptionHandler = static::isFake()
|
||||
? static::getFacadeRoot()->handler()
|
||||
: static::getFacadeRoot();
|
||||
|
||||
return tap(new ExceptionHandlerFake($exceptionHandler, Arr::wrap($exceptions)), function ($fake) {
|
||||
static::swap($fake);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return ExceptionHandler::class;
|
||||
}
|
||||
}
|
||||
359
plugins/php-imap/vendor/illuminate/support/Facades/Facade.php
vendored
Executable file
359
plugins/php-imap/vendor/illuminate/support/Facades/Facade.php
vendored
Executable file
@@ -0,0 +1,359 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Js;
|
||||
use Illuminate\Support\Number;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Support\Testing\Fakes\Fake;
|
||||
use Mockery;
|
||||
use Mockery\LegacyMockInterface;
|
||||
use RuntimeException;
|
||||
|
||||
abstract class Facade
|
||||
{
|
||||
/**
|
||||
* The application instance being facaded.
|
||||
*
|
||||
* @var \Illuminate\Contracts\Foundation\Application|null
|
||||
*/
|
||||
protected static $app;
|
||||
|
||||
/**
|
||||
* The resolved object instances.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected static $resolvedInstance;
|
||||
|
||||
/**
|
||||
* Indicates if the resolved instance should be cached.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected static $cached = true;
|
||||
|
||||
/**
|
||||
* Run a Closure when the facade has been resolved.
|
||||
*
|
||||
* @param \Closure $callback
|
||||
* @return void
|
||||
*/
|
||||
public static function resolved(Closure $callback)
|
||||
{
|
||||
$accessor = static::getFacadeAccessor();
|
||||
|
||||
if (static::$app->resolved($accessor) === true) {
|
||||
$callback(static::getFacadeRoot(), static::$app);
|
||||
}
|
||||
|
||||
static::$app->afterResolving($accessor, function ($service, $app) use ($callback) {
|
||||
$callback($service, $app);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the facade into a Mockery spy.
|
||||
*
|
||||
* @return \Mockery\MockInterface
|
||||
*/
|
||||
public static function spy()
|
||||
{
|
||||
if (! static::isMock()) {
|
||||
$class = static::getMockableClass();
|
||||
|
||||
return tap($class ? Mockery::spy($class) : Mockery::spy(), function ($spy) {
|
||||
static::swap($spy);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Initiate a partial mock on the facade.
|
||||
*
|
||||
* @return \Mockery\MockInterface
|
||||
*/
|
||||
public static function partialMock()
|
||||
{
|
||||
$name = static::getFacadeAccessor();
|
||||
|
||||
$mock = static::isMock()
|
||||
? static::$resolvedInstance[$name]
|
||||
: static::createFreshMockInstance();
|
||||
|
||||
return $mock->makePartial();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initiate a mock expectation on the facade.
|
||||
*
|
||||
* @return \Mockery\Expectation
|
||||
*/
|
||||
public static function shouldReceive()
|
||||
{
|
||||
$name = static::getFacadeAccessor();
|
||||
|
||||
$mock = static::isMock()
|
||||
? static::$resolvedInstance[$name]
|
||||
: static::createFreshMockInstance();
|
||||
|
||||
return $mock->shouldReceive(...func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* Initiate a mock expectation on the facade.
|
||||
*
|
||||
* @return \Mockery\Expectation
|
||||
*/
|
||||
public static function expects()
|
||||
{
|
||||
$name = static::getFacadeAccessor();
|
||||
|
||||
$mock = static::isMock()
|
||||
? static::$resolvedInstance[$name]
|
||||
: static::createFreshMockInstance();
|
||||
|
||||
return $mock->expects(...func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a fresh mock instance for the given class.
|
||||
*
|
||||
* @return \Mockery\MockInterface
|
||||
*/
|
||||
protected static function createFreshMockInstance()
|
||||
{
|
||||
return tap(static::createMock(), function ($mock) {
|
||||
static::swap($mock);
|
||||
|
||||
$mock->shouldAllowMockingProtectedMethods();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a fresh mock instance for the given class.
|
||||
*
|
||||
* @return \Mockery\MockInterface
|
||||
*/
|
||||
protected static function createMock()
|
||||
{
|
||||
$class = static::getMockableClass();
|
||||
|
||||
return $class ? Mockery::mock($class) : Mockery::mock();
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether a mock is set as the instance of the facade.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected static function isMock()
|
||||
{
|
||||
$name = static::getFacadeAccessor();
|
||||
|
||||
return isset(static::$resolvedInstance[$name]) &&
|
||||
static::$resolvedInstance[$name] instanceof LegacyMockInterface;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the mockable class for the bound instance.
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
protected static function getMockableClass()
|
||||
{
|
||||
if ($root = static::getFacadeRoot()) {
|
||||
return get_class($root);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Hotswap the underlying instance behind the facade.
|
||||
*
|
||||
* @param mixed $instance
|
||||
* @return void
|
||||
*/
|
||||
public static function swap($instance)
|
||||
{
|
||||
static::$resolvedInstance[static::getFacadeAccessor()] = $instance;
|
||||
|
||||
if (isset(static::$app)) {
|
||||
static::$app->instance(static::getFacadeAccessor(), $instance);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether a "fake" has been set as the facade instance.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected static function isFake()
|
||||
{
|
||||
$name = static::getFacadeAccessor();
|
||||
|
||||
return isset(static::$resolvedInstance[$name]) &&
|
||||
static::$resolvedInstance[$name] instanceof Fake;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the root object behind the facade.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public static function getFacadeRoot()
|
||||
{
|
||||
return static::resolveFacadeInstance(static::getFacadeAccessor());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @throws \RuntimeException
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
throw new RuntimeException('Facade does not implement getFacadeAccessor method.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolve the facade root instance from the container.
|
||||
*
|
||||
* @param string $name
|
||||
* @return mixed
|
||||
*/
|
||||
protected static function resolveFacadeInstance($name)
|
||||
{
|
||||
if (isset(static::$resolvedInstance[$name])) {
|
||||
return static::$resolvedInstance[$name];
|
||||
}
|
||||
|
||||
if (static::$app) {
|
||||
if (static::$cached) {
|
||||
return static::$resolvedInstance[$name] = static::$app[$name];
|
||||
}
|
||||
|
||||
return static::$app[$name];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear a resolved facade instance.
|
||||
*
|
||||
* @param string $name
|
||||
* @return void
|
||||
*/
|
||||
public static function clearResolvedInstance($name)
|
||||
{
|
||||
unset(static::$resolvedInstance[$name]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear all of the resolved instances.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function clearResolvedInstances()
|
||||
{
|
||||
static::$resolvedInstance = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the application default aliases.
|
||||
*
|
||||
* @return \Illuminate\Support\Collection
|
||||
*/
|
||||
public static function defaultAliases()
|
||||
{
|
||||
return collect([
|
||||
'App' => App::class,
|
||||
'Arr' => Arr::class,
|
||||
'Artisan' => Artisan::class,
|
||||
'Auth' => Auth::class,
|
||||
'Blade' => Blade::class,
|
||||
'Broadcast' => Broadcast::class,
|
||||
'Bus' => Bus::class,
|
||||
'Cache' => Cache::class,
|
||||
'Config' => Config::class,
|
||||
'Context' => Context::class,
|
||||
'Cookie' => Cookie::class,
|
||||
'Crypt' => Crypt::class,
|
||||
'Date' => Date::class,
|
||||
'DB' => DB::class,
|
||||
'Eloquent' => Model::class,
|
||||
'Event' => Event::class,
|
||||
'File' => File::class,
|
||||
'Gate' => Gate::class,
|
||||
'Hash' => Hash::class,
|
||||
'Http' => Http::class,
|
||||
'Js' => Js::class,
|
||||
'Lang' => Lang::class,
|
||||
'Log' => Log::class,
|
||||
'Mail' => Mail::class,
|
||||
'Notification' => Notification::class,
|
||||
'Number' => Number::class,
|
||||
'Password' => Password::class,
|
||||
'Process' => Process::class,
|
||||
'Queue' => Queue::class,
|
||||
'RateLimiter' => RateLimiter::class,
|
||||
'Redirect' => Redirect::class,
|
||||
'Request' => Request::class,
|
||||
'Response' => Response::class,
|
||||
'Route' => Route::class,
|
||||
'Schedule' => Schedule::class,
|
||||
'Schema' => Schema::class,
|
||||
'Session' => Session::class,
|
||||
'Storage' => Storage::class,
|
||||
'Str' => Str::class,
|
||||
'URL' => URL::class,
|
||||
'Validator' => Validator::class,
|
||||
'View' => View::class,
|
||||
'Vite' => Vite::class,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the application instance behind the facade.
|
||||
*
|
||||
* @return \Illuminate\Contracts\Foundation\Application|null
|
||||
*/
|
||||
public static function getFacadeApplication()
|
||||
{
|
||||
return static::$app;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the application instance.
|
||||
*
|
||||
* @param \Illuminate\Contracts\Foundation\Application|null $app
|
||||
* @return void
|
||||
*/
|
||||
public static function setFacadeApplication($app)
|
||||
{
|
||||
static::$app = $app;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle dynamic, static calls to the object.
|
||||
*
|
||||
* @param string $method
|
||||
* @param array $args
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \RuntimeException
|
||||
*/
|
||||
public static function __callStatic($method, $args)
|
||||
{
|
||||
$instance = static::getFacadeRoot();
|
||||
|
||||
if (! $instance) {
|
||||
throw new RuntimeException('A facade root has not been set.');
|
||||
}
|
||||
|
||||
return $instance->$method(...$args);
|
||||
}
|
||||
}
|
||||
72
plugins/php-imap/vendor/illuminate/support/Facades/File.php
vendored
Executable file
72
plugins/php-imap/vendor/illuminate/support/Facades/File.php
vendored
Executable file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static bool exists(string $path)
|
||||
* @method static bool missing(string $path)
|
||||
* @method static string get(string $path, bool $lock = false)
|
||||
* @method static array json(string $path, int $flags = 0, bool $lock = false)
|
||||
* @method static string sharedGet(string $path)
|
||||
* @method static mixed getRequire(string $path, array $data = [])
|
||||
* @method static mixed requireOnce(string $path, array $data = [])
|
||||
* @method static \Illuminate\Support\LazyCollection lines(string $path)
|
||||
* @method static string hash(string $path, string $algorithm = 'md5')
|
||||
* @method static int|bool put(string $path, string $contents, bool $lock = false)
|
||||
* @method static void replace(string $path, string $content, int|null $mode = null)
|
||||
* @method static void replaceInFile(array|string $search, array|string $replace, string $path)
|
||||
* @method static int prepend(string $path, string $data)
|
||||
* @method static int append(string $path, string $data, bool $lock = false)
|
||||
* @method static mixed chmod(string $path, int|null $mode = null)
|
||||
* @method static bool delete(string|array $paths)
|
||||
* @method static bool move(string $path, string $target)
|
||||
* @method static bool copy(string $path, string $target)
|
||||
* @method static bool|null link(string $target, string $link)
|
||||
* @method static void relativeLink(string $target, string $link)
|
||||
* @method static string name(string $path)
|
||||
* @method static string basename(string $path)
|
||||
* @method static string dirname(string $path)
|
||||
* @method static string extension(string $path)
|
||||
* @method static string|null guessExtension(string $path)
|
||||
* @method static string type(string $path)
|
||||
* @method static string|false mimeType(string $path)
|
||||
* @method static int size(string $path)
|
||||
* @method static int lastModified(string $path)
|
||||
* @method static bool isDirectory(string $directory)
|
||||
* @method static bool isEmptyDirectory(string $directory, bool $ignoreDotFiles = false)
|
||||
* @method static bool isReadable(string $path)
|
||||
* @method static bool isWritable(string $path)
|
||||
* @method static bool hasSameHash(string $firstFile, string $secondFile)
|
||||
* @method static bool isFile(string $file)
|
||||
* @method static array glob(string $pattern, int $flags = 0)
|
||||
* @method static \Symfony\Component\Finder\SplFileInfo[] files(string $directory, bool $hidden = false)
|
||||
* @method static \Symfony\Component\Finder\SplFileInfo[] allFiles(string $directory, bool $hidden = false)
|
||||
* @method static array directories(string $directory)
|
||||
* @method static void ensureDirectoryExists(string $path, int $mode = 0755, bool $recursive = true)
|
||||
* @method static bool makeDirectory(string $path, int $mode = 0755, bool $recursive = false, bool $force = false)
|
||||
* @method static bool moveDirectory(string $from, string $to, bool $overwrite = false)
|
||||
* @method static bool copyDirectory(string $directory, string $destination, int|null $options = null)
|
||||
* @method static bool deleteDirectory(string $directory, bool $preserve = false)
|
||||
* @method static bool deleteDirectories(string $directory)
|
||||
* @method static bool cleanDirectory(string $directory)
|
||||
* @method static \Illuminate\Filesystem\Filesystem|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static \Illuminate\Filesystem\Filesystem|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Filesystem\Filesystem
|
||||
*/
|
||||
class File extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'files';
|
||||
}
|
||||
}
|
||||
48
plugins/php-imap/vendor/illuminate/support/Facades/Gate.php
vendored
Normal file
48
plugins/php-imap/vendor/illuminate/support/Facades/Gate.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
|
||||
|
||||
/**
|
||||
* @method static bool has(string|array $ability)
|
||||
* @method static \Illuminate\Auth\Access\Response allowIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null)
|
||||
* @method static \Illuminate\Auth\Access\Response denyIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null)
|
||||
* @method static \Illuminate\Auth\Access\Gate define(string $ability, callable|array|string $callback)
|
||||
* @method static \Illuminate\Auth\Access\Gate resource(string $name, string $class, array|null $abilities = null)
|
||||
* @method static \Illuminate\Auth\Access\Gate policy(string $class, string $policy)
|
||||
* @method static \Illuminate\Auth\Access\Gate before(callable $callback)
|
||||
* @method static \Illuminate\Auth\Access\Gate after(callable $callback)
|
||||
* @method static bool allows(iterable|string $ability, array|mixed $arguments = [])
|
||||
* @method static bool denies(iterable|string $ability, array|mixed $arguments = [])
|
||||
* @method static bool check(iterable|string $abilities, array|mixed $arguments = [])
|
||||
* @method static bool any(iterable|string $abilities, array|mixed $arguments = [])
|
||||
* @method static bool none(iterable|string $abilities, array|mixed $arguments = [])
|
||||
* @method static \Illuminate\Auth\Access\Response authorize(string $ability, array|mixed $arguments = [])
|
||||
* @method static \Illuminate\Auth\Access\Response inspect(string $ability, array|mixed $arguments = [])
|
||||
* @method static mixed raw(string $ability, array|mixed $arguments = [])
|
||||
* @method static mixed getPolicyFor(object|string $class)
|
||||
* @method static \Illuminate\Auth\Access\Gate guessPolicyNamesUsing(callable $callback)
|
||||
* @method static mixed resolvePolicy(object|string $class)
|
||||
* @method static \Illuminate\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed $user)
|
||||
* @method static array abilities()
|
||||
* @method static array policies()
|
||||
* @method static \Illuminate\Auth\Access\Gate defaultDenialResponse(\Illuminate\Auth\Access\Response $response)
|
||||
* @method static \Illuminate\Auth\Access\Gate setContainer(\Illuminate\Contracts\Container\Container $container)
|
||||
* @method static \Illuminate\Auth\Access\Response denyWithStatus(int $status, string|null $message = null, int|null $code = null)
|
||||
* @method static \Illuminate\Auth\Access\Response denyAsNotFound(string|null $message = null, int|null $code = null)
|
||||
*
|
||||
* @see \Illuminate\Auth\Access\Gate
|
||||
*/
|
||||
class Gate extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return GateContract::class;
|
||||
}
|
||||
}
|
||||
36
plugins/php-imap/vendor/illuminate/support/Facades/Hash.php
vendored
Executable file
36
plugins/php-imap/vendor/illuminate/support/Facades/Hash.php
vendored
Executable file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Hashing\BcryptHasher createBcryptDriver()
|
||||
* @method static \Illuminate\Hashing\ArgonHasher createArgonDriver()
|
||||
* @method static \Illuminate\Hashing\Argon2IdHasher createArgon2idDriver()
|
||||
* @method static array info(string $hashedValue)
|
||||
* @method static string make(string $value, array $options = [])
|
||||
* @method static bool check(string $value, string $hashedValue, array $options = [])
|
||||
* @method static bool needsRehash(string $hashedValue, array $options = [])
|
||||
* @method static bool isHashed(string $value)
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static mixed driver(string|null $driver = null)
|
||||
* @method static \Illuminate\Hashing\HashManager extend(string $driver, \Closure $callback)
|
||||
* @method static array getDrivers()
|
||||
* @method static \Illuminate\Contracts\Container\Container getContainer()
|
||||
* @method static \Illuminate\Hashing\HashManager setContainer(\Illuminate\Contracts\Container\Container $container)
|
||||
* @method static \Illuminate\Hashing\HashManager forgetDrivers()
|
||||
*
|
||||
* @see \Illuminate\Hashing\HashManager
|
||||
* @see \Illuminate\Hashing\AbstractHasher
|
||||
*/
|
||||
class Hash extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'hash';
|
||||
}
|
||||
}
|
||||
161
plugins/php-imap/vendor/illuminate/support/Facades/Http.php
vendored
Normal file
161
plugins/php-imap/vendor/illuminate/support/Facades/Http.php
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Http\Client\Factory;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Http\Client\Factory globalMiddleware(callable $middleware)
|
||||
* @method static \Illuminate\Http\Client\Factory globalRequestMiddleware(callable $middleware)
|
||||
* @method static \Illuminate\Http\Client\Factory globalResponseMiddleware(callable $middleware)
|
||||
* @method static \Illuminate\Http\Client\Factory globalOptions(\Closure|array $options)
|
||||
* @method static \GuzzleHttp\Promise\PromiseInterface response(array|string|null $body = null, int $status = 200, array $headers = [])
|
||||
* @method static \Illuminate\Http\Client\ResponseSequence sequence(array $responses = [])
|
||||
* @method static \Illuminate\Http\Client\Factory allowStrayRequests()
|
||||
* @method static void recordRequestResponsePair(\Illuminate\Http\Client\Request $request, \Illuminate\Http\Client\Response $response)
|
||||
* @method static void assertSent(callable $callback)
|
||||
* @method static void assertSentInOrder(array $callbacks)
|
||||
* @method static void assertNotSent(callable $callback)
|
||||
* @method static void assertNothingSent()
|
||||
* @method static void assertSentCount(int $count)
|
||||
* @method static void assertSequencesAreEmpty()
|
||||
* @method static \Illuminate\Support\Collection recorded(callable $callback = null)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest createPendingRequest()
|
||||
* @method static \Illuminate\Contracts\Events\Dispatcher|null getDispatcher()
|
||||
* @method static array getGlobalMiddleware()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static mixed macroCall(string $method, array $parameters)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest baseUrl(string $url)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withBody(\Psr\Http\Message\StreamInterface|string $content, string $contentType = 'application/json')
|
||||
* @method static \Illuminate\Http\Client\PendingRequest asJson()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest asForm()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest attach(string|array $name, string|resource $contents = '', string|null $filename = null, array $headers = [])
|
||||
* @method static \Illuminate\Http\Client\PendingRequest asMultipart()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest bodyFormat(string $format)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withQueryParameters(array $parameters)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest contentType(string $contentType)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest acceptJson()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest accept(string $contentType)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withHeaders(array $headers)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withHeader(string $name, mixed $value)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest replaceHeaders(array $headers)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withBasicAuth(string $username, string $password)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withDigestAuth(string $username, string $password)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withToken(string $token, string $type = 'Bearer')
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withUserAgent(string|bool $userAgent)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withUrlParameters(array $parameters = [])
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withCookies(array $cookies, string $domain)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest maxRedirects(int $max)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withoutRedirecting()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withoutVerifying()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest sink(string|resource $to)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest timeout(int $seconds)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest connectTimeout(int $seconds)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest retry(array|int $times, \Closure|int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withOptions(array $options)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withMiddleware(callable $middleware)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withRequestMiddleware(callable $middleware)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest withResponseMiddleware(callable $middleware)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest beforeSending(callable $callback)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest throw(callable|null $callback = null)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest throwIf(callable|bool $condition)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest throwUnless(bool $condition)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest dump()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest dd()
|
||||
* @method static \Illuminate\Http\Client\Response get(string $url, array|string|null $query = null)
|
||||
* @method static \Illuminate\Http\Client\Response head(string $url, array|string|null $query = null)
|
||||
* @method static \Illuminate\Http\Client\Response post(string $url, array $data = [])
|
||||
* @method static \Illuminate\Http\Client\Response patch(string $url, array $data = [])
|
||||
* @method static \Illuminate\Http\Client\Response put(string $url, array $data = [])
|
||||
* @method static \Illuminate\Http\Client\Response delete(string $url, array $data = [])
|
||||
* @method static array pool(callable $callback)
|
||||
* @method static \Illuminate\Http\Client\Response send(string $method, string $url, array $options = [])
|
||||
* @method static \GuzzleHttp\Client buildClient()
|
||||
* @method static \GuzzleHttp\Client createClient(\GuzzleHttp\HandlerStack $handlerStack)
|
||||
* @method static \GuzzleHttp\HandlerStack buildHandlerStack()
|
||||
* @method static \GuzzleHttp\HandlerStack pushHandlers(\GuzzleHttp\HandlerStack $handlerStack)
|
||||
* @method static \Closure buildBeforeSendingHandler()
|
||||
* @method static \Closure buildRecorderHandler()
|
||||
* @method static \Closure buildStubHandler()
|
||||
* @method static \GuzzleHttp\Psr7\RequestInterface runBeforeSendingCallbacks(\GuzzleHttp\Psr7\RequestInterface $request, array $options)
|
||||
* @method static array mergeOptions(array ...$options)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest stub(callable $callback)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest async(bool $async = true)
|
||||
* @method static \GuzzleHttp\Promise\PromiseInterface|null getPromise()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest setClient(\GuzzleHttp\Client $client)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest setHandler(callable $handler)
|
||||
* @method static array getOptions()
|
||||
* @method static \Illuminate\Http\Client\PendingRequest|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static \Illuminate\Http\Client\PendingRequest|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
*
|
||||
* @see \Illuminate\Http\Client\Factory
|
||||
*/
|
||||
class Http extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return Factory::class;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a stub callable that will intercept requests and be able to return stub responses.
|
||||
*
|
||||
* @param \Closure|array $callback
|
||||
* @return \Illuminate\Http\Client\Factory
|
||||
*/
|
||||
public static function fake($callback = null)
|
||||
{
|
||||
return tap(static::getFacadeRoot(), function ($fake) use ($callback) {
|
||||
static::swap($fake->fake($callback));
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a response sequence for the given URL pattern.
|
||||
*
|
||||
* @param string $urlPattern
|
||||
* @return \Illuminate\Http\Client\ResponseSequence
|
||||
*/
|
||||
public static function fakeSequence(string $urlPattern = '*')
|
||||
{
|
||||
$fake = tap(static::getFacadeRoot(), function ($fake) {
|
||||
static::swap($fake);
|
||||
});
|
||||
|
||||
return $fake->fakeSequence($urlPattern);
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicate that an exception should be thrown if any request is not faked.
|
||||
*
|
||||
* @return \Illuminate\Http\Client\Factory
|
||||
*/
|
||||
public static function preventStrayRequests()
|
||||
{
|
||||
return tap(static::getFacadeRoot(), function ($fake) {
|
||||
static::swap($fake->preventStrayRequests());
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Stub the given URL using the given callback.
|
||||
*
|
||||
* @param string $url
|
||||
* @param \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface|callable $callback
|
||||
* @return \Illuminate\Http\Client\Factory
|
||||
*/
|
||||
public static function stubUrl($url, $callback)
|
||||
{
|
||||
return tap(static::getFacadeRoot(), function ($fake) use ($url, $callback) {
|
||||
static::swap($fake->stubUrl($url, $callback));
|
||||
});
|
||||
}
|
||||
}
|
||||
47
plugins/php-imap/vendor/illuminate/support/Facades/Lang.php
vendored
Executable file
47
plugins/php-imap/vendor/illuminate/support/Facades/Lang.php
vendored
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static bool hasForLocale(string $key, string|null $locale = null)
|
||||
* @method static bool has(string $key, string|null $locale = null, bool $fallback = true)
|
||||
* @method static string|array get(string $key, array $replace = [], string|null $locale = null, bool $fallback = true)
|
||||
* @method static string choice(string $key, \Countable|int|float|array $number, array $replace = [], string|null $locale = null)
|
||||
* @method static void addLines(array $lines, string $locale, string $namespace = '*')
|
||||
* @method static void load(string $namespace, string $group, string $locale)
|
||||
* @method static \Illuminate\Translation\Translator handleMissingKeysUsing(callable|null $callback)
|
||||
* @method static void addNamespace(string $namespace, string $hint)
|
||||
* @method static void addJsonPath(string $path)
|
||||
* @method static array parseKey(string $key)
|
||||
* @method static void determineLocalesUsing(callable $callback)
|
||||
* @method static \Illuminate\Translation\MessageSelector getSelector()
|
||||
* @method static void setSelector(\Illuminate\Translation\MessageSelector $selector)
|
||||
* @method static \Illuminate\Contracts\Translation\Loader getLoader()
|
||||
* @method static string locale()
|
||||
* @method static string getLocale()
|
||||
* @method static void setLocale(string $locale)
|
||||
* @method static string getFallback()
|
||||
* @method static void setFallback(string $fallback)
|
||||
* @method static void setLoaded(array $loaded)
|
||||
* @method static void stringable(callable|string $class, callable|null $handler = null)
|
||||
* @method static void setParsedKey(string $key, array $parsed)
|
||||
* @method static void flushParsedKeys()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Translation\Translator
|
||||
*/
|
||||
class Lang extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'translator';
|
||||
}
|
||||
}
|
||||
51
plugins/php-imap/vendor/illuminate/support/Facades/Log.php
vendored
Executable file
51
plugins/php-imap/vendor/illuminate/support/Facades/Log.php
vendored
Executable file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Psr\Log\LoggerInterface build(array $config)
|
||||
* @method static \Psr\Log\LoggerInterface stack(array $channels, string|null $channel = null)
|
||||
* @method static \Psr\Log\LoggerInterface channel(string|null $channel = null)
|
||||
* @method static \Psr\Log\LoggerInterface driver(string|null $driver = null)
|
||||
* @method static \Illuminate\Log\LogManager shareContext(array $context)
|
||||
* @method static array sharedContext()
|
||||
* @method static \Illuminate\Log\LogManager withoutContext()
|
||||
* @method static \Illuminate\Log\LogManager flushSharedContext()
|
||||
* @method static string|null getDefaultDriver()
|
||||
* @method static void setDefaultDriver(string $name)
|
||||
* @method static \Illuminate\Log\LogManager extend(string $driver, \Closure $callback)
|
||||
* @method static void forgetChannel(string|null $driver = null)
|
||||
* @method static array getChannels()
|
||||
* @method static void emergency(string|\Stringable $message, array $context = [])
|
||||
* @method static void alert(string|\Stringable $message, array $context = [])
|
||||
* @method static void critical(string|\Stringable $message, array $context = [])
|
||||
* @method static void error(string|\Stringable $message, array $context = [])
|
||||
* @method static void warning(string|\Stringable $message, array $context = [])
|
||||
* @method static void notice(string|\Stringable $message, array $context = [])
|
||||
* @method static void info(string|\Stringable $message, array $context = [])
|
||||
* @method static void debug(string|\Stringable $message, array $context = [])
|
||||
* @method static void log(mixed $level, string|\Stringable $message, array $context = [])
|
||||
* @method static \Illuminate\Log\LogManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static void write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = [])
|
||||
* @method static \Illuminate\Log\Logger withContext(array $context = [])
|
||||
* @method static void listen(\Closure $callback)
|
||||
* @method static \Psr\Log\LoggerInterface getLogger()
|
||||
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
|
||||
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher)
|
||||
* @method static \Illuminate\Log\Logger|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static \Illuminate\Log\Logger|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
*
|
||||
* @see \Illuminate\Log\LogManager
|
||||
*/
|
||||
class Log extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'log';
|
||||
}
|
||||
}
|
||||
90
plugins/php-imap/vendor/illuminate/support/Facades/Mail.php
vendored
Executable file
90
plugins/php-imap/vendor/illuminate/support/Facades/Mail.php
vendored
Executable file
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Support\Testing\Fakes\MailFake;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Contracts\Mail\Mailer mailer(string|null $name = null)
|
||||
* @method static \Illuminate\Mail\Mailer driver(string|null $driver = null)
|
||||
* @method static \Symfony\Component\Mailer\Transport\TransportInterface createSymfonyTransport(array $config)
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static void setDefaultDriver(string $name)
|
||||
* @method static void purge(string|null $name = null)
|
||||
* @method static \Illuminate\Mail\MailManager extend(string $driver, \Closure $callback)
|
||||
* @method static \Illuminate\Contracts\Foundation\Application getApplication()
|
||||
* @method static \Illuminate\Mail\MailManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static \Illuminate\Mail\MailManager forgetMailers()
|
||||
* @method static void alwaysFrom(string $address, string|null $name = null)
|
||||
* @method static void alwaysReplyTo(string $address, string|null $name = null)
|
||||
* @method static void alwaysReturnPath(string $address)
|
||||
* @method static void alwaysTo(string $address, string|null $name = null)
|
||||
* @method static \Illuminate\Mail\PendingMail to(mixed $users, string|null $name = null)
|
||||
* @method static \Illuminate\Mail\PendingMail cc(mixed $users, string|null $name = null)
|
||||
* @method static \Illuminate\Mail\PendingMail bcc(mixed $users, string|null $name = null)
|
||||
* @method static \Illuminate\Mail\SentMessage|null html(string $html, mixed $callback)
|
||||
* @method static \Illuminate\Mail\SentMessage|null raw(string $text, mixed $callback)
|
||||
* @method static \Illuminate\Mail\SentMessage|null plain(string $view, array $data, mixed $callback)
|
||||
* @method static string render(string|array $view, array $data = [])
|
||||
* @method static \Illuminate\Mail\SentMessage|null send(\Illuminate\Contracts\Mail\Mailable|string|array $view, array $data = [], \Closure|string|null $callback = null)
|
||||
* @method static \Illuminate\Mail\SentMessage|null sendNow(\Illuminate\Contracts\Mail\Mailable|string|array $mailable, array $data = [], \Closure|string|null $callback = null)
|
||||
* @method static mixed queue(\Illuminate\Contracts\Mail\Mailable|string|array $view, string|null $queue = null)
|
||||
* @method static mixed onQueue(string $queue, \Illuminate\Contracts\Mail\Mailable $view)
|
||||
* @method static mixed queueOn(string $queue, \Illuminate\Contracts\Mail\Mailable $view)
|
||||
* @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view, string|null $queue = null)
|
||||
* @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view)
|
||||
* @method static \Symfony\Component\Mailer\Transport\TransportInterface getSymfonyTransport()
|
||||
* @method static \Illuminate\Contracts\View\Factory getViewFactory()
|
||||
* @method static void setSymfonyTransport(\Symfony\Component\Mailer\Transport\TransportInterface $transport)
|
||||
* @method static \Illuminate\Mail\Mailer setQueue(\Illuminate\Contracts\Queue\Factory $queue)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static void assertSent(string|\Closure $mailable, callable|int|null $callback = null)
|
||||
* @method static void assertNotOutgoing(string|\Closure $mailable, callable|null $callback = null)
|
||||
* @method static void assertNotSent(string|\Closure $mailable, callable|null $callback = null)
|
||||
* @method static void assertNothingOutgoing()
|
||||
* @method static void assertNothingSent()
|
||||
* @method static void assertQueued(string|\Closure $mailable, callable|int|null $callback = null)
|
||||
* @method static void assertNotQueued(string|\Closure $mailable, callable|null $callback = null)
|
||||
* @method static void assertNothingQueued()
|
||||
* @method static void assertSentCount(int $count)
|
||||
* @method static void assertQueuedCount(int $count)
|
||||
* @method static void assertOutgoingCount(int $count)
|
||||
* @method static \Illuminate\Support\Collection sent(string|\Closure $mailable, callable|null $callback = null)
|
||||
* @method static bool hasSent(string $mailable)
|
||||
* @method static \Illuminate\Support\Collection queued(string|\Closure $mailable, callable|null $callback = null)
|
||||
* @method static bool hasQueued(string $mailable)
|
||||
*
|
||||
* @see \Illuminate\Mail\MailManager
|
||||
* @see \Illuminate\Support\Testing\Fakes\MailFake
|
||||
*/
|
||||
class Mail extends Facade
|
||||
{
|
||||
/**
|
||||
* Replace the bound instance with a fake.
|
||||
*
|
||||
* @return \Illuminate\Support\Testing\Fakes\MailFake
|
||||
*/
|
||||
public static function fake()
|
||||
{
|
||||
$actualMailManager = static::isFake()
|
||||
? static::getFacadeRoot()->manager
|
||||
: static::getFacadeRoot();
|
||||
|
||||
return tap(new MailFake($actualMailManager), function ($fake) {
|
||||
static::swap($fake);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'mail.manager';
|
||||
}
|
||||
}
|
||||
96
plugins/php-imap/vendor/illuminate/support/Facades/Notification.php
vendored
Normal file
96
plugins/php-imap/vendor/illuminate/support/Facades/Notification.php
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Notifications\AnonymousNotifiable;
|
||||
use Illuminate\Notifications\ChannelManager;
|
||||
use Illuminate\Support\Testing\Fakes\NotificationFake;
|
||||
|
||||
/**
|
||||
* @method static void send(\Illuminate\Support\Collection|array|mixed $notifiables, mixed $notification)
|
||||
* @method static void sendNow(\Illuminate\Support\Collection|array|mixed $notifiables, mixed $notification, array|null $channels = null)
|
||||
* @method static mixed channel(string|null $name = null)
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static string deliversVia()
|
||||
* @method static void deliverVia(string $channel)
|
||||
* @method static \Illuminate\Notifications\ChannelManager locale(string $locale)
|
||||
* @method static mixed driver(string|null $driver = null)
|
||||
* @method static \Illuminate\Notifications\ChannelManager extend(string $driver, \Closure $callback)
|
||||
* @method static array getDrivers()
|
||||
* @method static \Illuminate\Contracts\Container\Container getContainer()
|
||||
* @method static \Illuminate\Notifications\ChannelManager setContainer(\Illuminate\Contracts\Container\Container $container)
|
||||
* @method static \Illuminate\Notifications\ChannelManager forgetDrivers()
|
||||
* @method static void assertSentOnDemand(string|\Closure $notification, callable|null $callback = null)
|
||||
* @method static void assertSentTo(mixed $notifiable, string|\Closure $notification, callable|null $callback = null)
|
||||
* @method static void assertSentOnDemandTimes(string $notification, int $times = 1)
|
||||
* @method static void assertSentToTimes(mixed $notifiable, string $notification, int $times = 1)
|
||||
* @method static void assertNotSentTo(mixed $notifiable, string|\Closure $notification, callable|null $callback = null)
|
||||
* @method static void assertNothingSent()
|
||||
* @method static void assertNothingSentTo(mixed $notifiable)
|
||||
* @method static void assertSentTimes(string $notification, int $expectedCount)
|
||||
* @method static void assertCount(int $expectedCount)
|
||||
* @method static \Illuminate\Support\Collection sent(mixed $notifiable, string $notification, callable|null $callback = null)
|
||||
* @method static bool hasSent(mixed $notifiable, string $notification)
|
||||
* @method static \Illuminate\Support\Testing\Fakes\NotificationFake serializeAndRestore(bool $serializeAndRestore = true)
|
||||
* @method static array sentNotifications()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Notifications\ChannelManager
|
||||
* @see \Illuminate\Support\Testing\Fakes\NotificationFake
|
||||
*/
|
||||
class Notification extends Facade
|
||||
{
|
||||
/**
|
||||
* Replace the bound instance with a fake.
|
||||
*
|
||||
* @return \Illuminate\Support\Testing\Fakes\NotificationFake
|
||||
*/
|
||||
public static function fake()
|
||||
{
|
||||
return tap(new NotificationFake, function ($fake) {
|
||||
static::swap($fake);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Begin sending a notification to an anonymous notifiable on the given channels.
|
||||
*
|
||||
* @param array $channels
|
||||
* @return \Illuminate\Notifications\AnonymousNotifiable
|
||||
*/
|
||||
public static function routes(array $channels)
|
||||
{
|
||||
$notifiable = new AnonymousNotifiable;
|
||||
|
||||
foreach ($channels as $channel => $route) {
|
||||
$notifiable->route($channel, $route);
|
||||
}
|
||||
|
||||
return $notifiable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Begin sending a notification to an anonymous notifiable.
|
||||
*
|
||||
* @param string $channel
|
||||
* @param mixed $route
|
||||
* @return \Illuminate\Notifications\AnonymousNotifiable
|
||||
*/
|
||||
public static function route($channel, $route)
|
||||
{
|
||||
return (new AnonymousNotifiable)->route($channel, $route);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return ChannelManager::class;
|
||||
}
|
||||
}
|
||||
34
plugins/php-imap/vendor/illuminate/support/Facades/ParallelTesting.php
vendored
Normal file
34
plugins/php-imap/vendor/illuminate/support/Facades/ParallelTesting.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static void resolveOptionsUsing(\Closure|null $resolver)
|
||||
* @method static void resolveTokenUsing(\Closure|null $resolver)
|
||||
* @method static void setUpProcess(callable $callback)
|
||||
* @method static void setUpTestCase(callable $callback)
|
||||
* @method static void setUpTestDatabase(callable $callback)
|
||||
* @method static void tearDownProcess(callable $callback)
|
||||
* @method static void tearDownTestCase(callable $callback)
|
||||
* @method static void callSetUpProcessCallbacks()
|
||||
* @method static void callSetUpTestCaseCallbacks(\Illuminate\Foundation\Testing\TestCase $testCase)
|
||||
* @method static void callSetUpTestDatabaseCallbacks(string $database)
|
||||
* @method static void callTearDownProcessCallbacks()
|
||||
* @method static void callTearDownTestCaseCallbacks(\Illuminate\Foundation\Testing\TestCase $testCase)
|
||||
* @method static mixed option(string $option)
|
||||
* @method static string|false token()
|
||||
*
|
||||
* @see \Illuminate\Testing\ParallelTesting
|
||||
*/
|
||||
class ParallelTesting extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return \Illuminate\Testing\ParallelTesting::class;
|
||||
}
|
||||
}
|
||||
68
plugins/php-imap/vendor/illuminate/support/Facades/Password.php
vendored
Executable file
68
plugins/php-imap/vendor/illuminate/support/Facades/Password.php
vendored
Executable file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Contracts\Auth\PasswordBroker;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Contracts\Auth\PasswordBroker broker(string|null $name = null)
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static void setDefaultDriver(string $name)
|
||||
* @method static string sendResetLink(array $credentials, \Closure|null $callback = null)
|
||||
* @method static mixed reset(array $credentials, \Closure $callback)
|
||||
* @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials)
|
||||
* @method static string createToken(\Illuminate\Contracts\Auth\CanResetPassword $user)
|
||||
* @method static void deleteToken(\Illuminate\Contracts\Auth\CanResetPassword $user)
|
||||
* @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token)
|
||||
* @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository()
|
||||
*
|
||||
* @see \Illuminate\Auth\Passwords\PasswordBrokerManager
|
||||
* @see \Illuminate\Auth\Passwords\PasswordBroker
|
||||
*/
|
||||
class Password extends Facade
|
||||
{
|
||||
/**
|
||||
* Constant representing a successfully sent reminder.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const RESET_LINK_SENT = PasswordBroker::RESET_LINK_SENT;
|
||||
|
||||
/**
|
||||
* Constant representing a successfully reset password.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const PASSWORD_RESET = PasswordBroker::PASSWORD_RESET;
|
||||
|
||||
/**
|
||||
* Constant representing the user not found response.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const INVALID_USER = PasswordBroker::INVALID_USER;
|
||||
|
||||
/**
|
||||
* Constant representing an invalid token.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const INVALID_TOKEN = PasswordBroker::INVALID_TOKEN;
|
||||
|
||||
/**
|
||||
* Constant representing a throttled reset attempt.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const RESET_THROTTLED = PasswordBroker::RESET_THROTTLED;
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'auth.password';
|
||||
}
|
||||
}
|
||||
36
plugins/php-imap/vendor/illuminate/support/Facades/Pipeline.php
vendored
Normal file
36
plugins/php-imap/vendor/illuminate/support/Facades/Pipeline.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Pipeline\Pipeline send(mixed $passable)
|
||||
* @method static \Illuminate\Pipeline\Pipeline through(array|mixed $pipes)
|
||||
* @method static \Illuminate\Pipeline\Pipeline pipe(array|mixed $pipes)
|
||||
* @method static \Illuminate\Pipeline\Pipeline via(string $method)
|
||||
* @method static mixed then(\Closure $destination)
|
||||
* @method static mixed thenReturn()
|
||||
* @method static \Illuminate\Pipeline\Pipeline setContainer(\Illuminate\Contracts\Container\Container $container)
|
||||
* @method static \Illuminate\Pipeline\Pipeline|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static \Illuminate\Pipeline\Pipeline|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
*
|
||||
* @see \Illuminate\Pipeline\Pipeline
|
||||
*/
|
||||
class Pipeline extends Facade
|
||||
{
|
||||
/**
|
||||
* Indicates if the resolved instance should be cached.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected static $cached = false;
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'pipeline';
|
||||
}
|
||||
}
|
||||
74
plugins/php-imap/vendor/illuminate/support/Facades/Process.php
vendored
Normal file
74
plugins/php-imap/vendor/illuminate/support/Facades/Process.php
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Process\Factory;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Process\PendingProcess command(array|string $command)
|
||||
* @method static \Illuminate\Process\PendingProcess path(string $path)
|
||||
* @method static \Illuminate\Process\PendingProcess timeout(int $timeout)
|
||||
* @method static \Illuminate\Process\PendingProcess idleTimeout(int $timeout)
|
||||
* @method static \Illuminate\Process\PendingProcess forever()
|
||||
* @method static \Illuminate\Process\PendingProcess env(array $environment)
|
||||
* @method static \Illuminate\Process\PendingProcess input(\Traversable|resource|string|int|float|bool|null $input)
|
||||
* @method static \Illuminate\Process\PendingProcess quietly()
|
||||
* @method static \Illuminate\Process\PendingProcess tty(bool $tty = true)
|
||||
* @method static \Illuminate\Process\PendingProcess options(array $options)
|
||||
* @method static \Illuminate\Contracts\Process\ProcessResult run(array|string|null $command = null, callable|null $output = null)
|
||||
* @method static \Illuminate\Process\InvokedProcess start(array|string|null $command = null, callable|null $output = null)
|
||||
* @method static \Illuminate\Process\PendingProcess withFakeHandlers(array $fakeHandlers)
|
||||
* @method static \Illuminate\Process\PendingProcess|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static \Illuminate\Process\PendingProcess|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static \Illuminate\Process\FakeProcessResult result(array|string $output = '', array|string $errorOutput = '', int $exitCode = 0)
|
||||
* @method static \Illuminate\Process\FakeProcessDescription describe()
|
||||
* @method static \Illuminate\Process\FakeProcessSequence sequence(array $processes = [])
|
||||
* @method static bool isRecording()
|
||||
* @method static \Illuminate\Process\Factory recordIfRecording(\Illuminate\Process\PendingProcess $process, \Illuminate\Contracts\Process\ProcessResult $result)
|
||||
* @method static \Illuminate\Process\Factory record(\Illuminate\Process\PendingProcess $process, \Illuminate\Contracts\Process\ProcessResult $result)
|
||||
* @method static \Illuminate\Process\Factory preventStrayProcesses(bool $prevent = true)
|
||||
* @method static bool preventingStrayProcesses()
|
||||
* @method static \Illuminate\Process\Factory assertRan(\Closure|string $callback)
|
||||
* @method static \Illuminate\Process\Factory assertRanTimes(\Closure|string $callback, int $times = 1)
|
||||
* @method static \Illuminate\Process\Factory assertNotRan(\Closure|string $callback)
|
||||
* @method static \Illuminate\Process\Factory assertDidntRun(\Closure|string $callback)
|
||||
* @method static \Illuminate\Process\Factory assertNothingRan()
|
||||
* @method static \Illuminate\Process\Pool pool(callable $callback)
|
||||
* @method static \Illuminate\Contracts\Process\ProcessResult pipe(callable|array $callback, callable|null $output = null)
|
||||
* @method static \Illuminate\Process\ProcessPoolResults concurrently(callable $callback, callable|null $output = null)
|
||||
* @method static \Illuminate\Process\PendingProcess newPendingProcess()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static mixed macroCall(string $method, array $parameters)
|
||||
*
|
||||
* @see \Illuminate\Process\PendingProcess
|
||||
* @see \Illuminate\Process\Factory
|
||||
*/
|
||||
class Process extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return Factory::class;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicate that the process factory should fake processes.
|
||||
*
|
||||
* @param \Closure|array|null $callback
|
||||
* @return \Illuminate\Process\Factory
|
||||
*/
|
||||
public static function fake(Closure|array|null $callback = null)
|
||||
{
|
||||
return tap(static::getFacadeRoot(), function ($fake) use ($callback) {
|
||||
static::swap($fake->fake($callback));
|
||||
});
|
||||
}
|
||||
}
|
||||
100
plugins/php-imap/vendor/illuminate/support/Facades/Queue.php
vendored
Executable file
100
plugins/php-imap/vendor/illuminate/support/Facades/Queue.php
vendored
Executable file
@@ -0,0 +1,100 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Queue\Worker;
|
||||
use Illuminate\Support\Testing\Fakes\QueueFake;
|
||||
|
||||
/**
|
||||
* @method static void before(mixed $callback)
|
||||
* @method static void after(mixed $callback)
|
||||
* @method static void exceptionOccurred(mixed $callback)
|
||||
* @method static void looping(mixed $callback)
|
||||
* @method static void failing(mixed $callback)
|
||||
* @method static void stopping(mixed $callback)
|
||||
* @method static bool connected(string|null $name = null)
|
||||
* @method static \Illuminate\Contracts\Queue\Queue connection(string|null $name = null)
|
||||
* @method static void extend(string $driver, \Closure $resolver)
|
||||
* @method static void addConnector(string $driver, \Closure $resolver)
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static void setDefaultDriver(string $name)
|
||||
* @method static string getName(string|null $connection = null)
|
||||
* @method static \Illuminate\Contracts\Foundation\Application getApplication()
|
||||
* @method static \Illuminate\Queue\QueueManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static int size(string|null $queue = null)
|
||||
* @method static mixed push(string|object $job, mixed $data = '', string|null $queue = null)
|
||||
* @method static mixed pushOn(string $queue, string|object $job, mixed $data = '')
|
||||
* @method static mixed pushRaw(string $payload, string|null $queue = null, array $options = [])
|
||||
* @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '', string|null $queue = null)
|
||||
* @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '')
|
||||
* @method static mixed bulk(array $jobs, mixed $data = '', string|null $queue = null)
|
||||
* @method static \Illuminate\Contracts\Queue\Job|null pop(string|null $queue = null)
|
||||
* @method static string getConnectionName()
|
||||
* @method static \Illuminate\Contracts\Queue\Queue setConnectionName(string $name)
|
||||
* @method static mixed getJobTries(mixed $job)
|
||||
* @method static mixed getJobBackoff(mixed $job)
|
||||
* @method static mixed getJobExpiration(mixed $job)
|
||||
* @method static void createPayloadUsing(callable|null $callback)
|
||||
* @method static \Illuminate\Container\Container getContainer()
|
||||
* @method static void setContainer(\Illuminate\Container\Container $container)
|
||||
* @method static \Illuminate\Support\Testing\Fakes\QueueFake except(array|string $jobsToBeQueued)
|
||||
* @method static void assertPushed(string|\Closure $job, callable|int|null $callback = null)
|
||||
* @method static void assertPushedOn(string $queue, string|\Closure $job, callable|null $callback = null)
|
||||
* @method static void assertPushedWithChain(string $job, array $expectedChain = [], callable|null $callback = null)
|
||||
* @method static void assertPushedWithoutChain(string $job, callable|null $callback = null)
|
||||
* @method static void assertClosurePushed(callable|int|null $callback = null)
|
||||
* @method static void assertClosureNotPushed(callable|null $callback = null)
|
||||
* @method static void assertNotPushed(string|\Closure $job, callable|null $callback = null)
|
||||
* @method static void assertCount(int $expectedCount)
|
||||
* @method static void assertNothingPushed()
|
||||
* @method static \Illuminate\Support\Collection pushed(string $job, callable|null $callback = null)
|
||||
* @method static bool hasPushed(string $job)
|
||||
* @method static bool shouldFakeJob(object $job)
|
||||
* @method static array pushedJobs()
|
||||
* @method static \Illuminate\Support\Testing\Fakes\QueueFake serializeAndRestore(bool $serializeAndRestore = true)
|
||||
*
|
||||
* @see \Illuminate\Queue\QueueManager
|
||||
* @see \Illuminate\Queue\Queue
|
||||
* @see \Illuminate\Support\Testing\Fakes\QueueFake
|
||||
*/
|
||||
class Queue extends Facade
|
||||
{
|
||||
/**
|
||||
* Register a callback to be executed to pick jobs.
|
||||
*
|
||||
* @param string $workerName
|
||||
* @param callable $callback
|
||||
* @return void
|
||||
*/
|
||||
public static function popUsing($workerName, $callback)
|
||||
{
|
||||
return Worker::popUsing($workerName, $callback);
|
||||
}
|
||||
|
||||
/**
|
||||
* Replace the bound instance with a fake.
|
||||
*
|
||||
* @param array|string $jobsToFake
|
||||
* @return \Illuminate\Support\Testing\Fakes\QueueFake
|
||||
*/
|
||||
public static function fake($jobsToFake = [])
|
||||
{
|
||||
$actualQueueManager = static::isFake()
|
||||
? static::getFacadeRoot()->queue
|
||||
: static::getFacadeRoot();
|
||||
|
||||
return tap(new QueueFake(static::getFacadeApplication(), $jobsToFake, $actualQueueManager), function ($fake) {
|
||||
static::swap($fake);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'queue';
|
||||
}
|
||||
}
|
||||
34
plugins/php-imap/vendor/illuminate/support/Facades/RateLimiter.php
vendored
Normal file
34
plugins/php-imap/vendor/illuminate/support/Facades/RateLimiter.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Cache\RateLimiter for(string $name, \Closure $callback)
|
||||
* @method static \Closure|null limiter(string $name)
|
||||
* @method static mixed attempt(string $key, int $maxAttempts, \Closure $callback, int $decaySeconds = 60)
|
||||
* @method static bool tooManyAttempts(string $key, int $maxAttempts)
|
||||
* @method static int hit(string $key, int $decaySeconds = 60)
|
||||
* @method static int increment(string $key, int $decaySeconds = 60, int $amount = 1)
|
||||
* @method static int decrement(string $key, int $decaySeconds = 60, int $amount = 1)
|
||||
* @method static mixed attempts(string $key)
|
||||
* @method static mixed resetAttempts(string $key)
|
||||
* @method static int remaining(string $key, int $maxAttempts)
|
||||
* @method static int retriesLeft(string $key, int $maxAttempts)
|
||||
* @method static void clear(string $key)
|
||||
* @method static int availableIn(string $key)
|
||||
* @method static string cleanRateLimiterKey(string $key)
|
||||
*
|
||||
* @see \Illuminate\Cache\RateLimiter
|
||||
*/
|
||||
class RateLimiter extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return \Illuminate\Cache\RateLimiter::class;
|
||||
}
|
||||
}
|
||||
39
plugins/php-imap/vendor/illuminate/support/Facades/Redirect.php
vendored
Executable file
39
plugins/php-imap/vendor/illuminate/support/Facades/Redirect.php
vendored
Executable file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Http\RedirectResponse back(int $status = 302, array $headers = [], mixed $fallback = false)
|
||||
* @method static \Illuminate\Http\RedirectResponse refresh(int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse guest(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
|
||||
* @method static \Illuminate\Http\RedirectResponse intended(mixed $default = '/', int $status = 302, array $headers = [], bool|null $secure = null)
|
||||
* @method static \Illuminate\Http\RedirectResponse to(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
|
||||
* @method static \Illuminate\Http\RedirectResponse away(string $path, int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse secure(string $path, int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse route(string $route, mixed $parameters = [], int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse signedRoute(string $route, mixed $parameters = [], \DateTimeInterface|\DateInterval|int|null $expiration = null, int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse temporarySignedRoute(string $route, \DateTimeInterface|\DateInterval|int|null $expiration, mixed $parameters = [], int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse action(string|array $action, mixed $parameters = [], int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Routing\UrlGenerator getUrlGenerator()
|
||||
* @method static void setSession(\Illuminate\Session\Store $session)
|
||||
* @method static string|null getIntendedUrl()
|
||||
* @method static \Illuminate\Routing\Redirector setIntendedUrl(string $url)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Routing\Redirector
|
||||
*/
|
||||
class Redirect extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'redirect';
|
||||
}
|
||||
}
|
||||
46
plugins/php-imap/vendor/illuminate/support/Facades/Redis.php
vendored
Executable file
46
plugins/php-imap/vendor/illuminate/support/Facades/Redis.php
vendored
Executable file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Redis\Connections\Connection connection(string|null $name = null)
|
||||
* @method static \Illuminate\Redis\Connections\Connection resolve(string|null $name = null)
|
||||
* @method static array connections()
|
||||
* @method static void enableEvents()
|
||||
* @method static void disableEvents()
|
||||
* @method static void setDriver(string $driver)
|
||||
* @method static void purge(string|null $name = null)
|
||||
* @method static \Illuminate\Redis\RedisManager extend(string $driver, \Closure $callback)
|
||||
* @method static void createSubscription(array|string $channels, \Closure $callback, string $method = 'subscribe')
|
||||
* @method static \Illuminate\Redis\Limiters\ConcurrencyLimiterBuilder funnel(string $name)
|
||||
* @method static \Illuminate\Redis\Limiters\DurationLimiterBuilder throttle(string $name)
|
||||
* @method static mixed client()
|
||||
* @method static void subscribe(array|string $channels, \Closure $callback)
|
||||
* @method static void psubscribe(array|string $channels, \Closure $callback)
|
||||
* @method static mixed command(string $method, array $parameters = [])
|
||||
* @method static void listen(\Closure $callback)
|
||||
* @method static string|null getName()
|
||||
* @method static \Illuminate\Redis\Connections\Connection setName(string $name)
|
||||
* @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher()
|
||||
* @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
|
||||
* @method static void unsetEventDispatcher()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static mixed macroCall(string $method, array $parameters)
|
||||
*
|
||||
* @see \Illuminate\Redis\RedisManager
|
||||
*/
|
||||
class Redis extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'redis';
|
||||
}
|
||||
}
|
||||
196
plugins/php-imap/vendor/illuminate/support/Facades/Request.php
vendored
Executable file
196
plugins/php-imap/vendor/illuminate/support/Facades/Request.php
vendored
Executable file
@@ -0,0 +1,196 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Http\Request capture()
|
||||
* @method static \Illuminate\Http\Request instance()
|
||||
* @method static string method()
|
||||
* @method static string root()
|
||||
* @method static string url()
|
||||
* @method static string fullUrl()
|
||||
* @method static string fullUrlWithQuery(array $query)
|
||||
* @method static string fullUrlWithoutQuery(array|string $keys)
|
||||
* @method static string path()
|
||||
* @method static string decodedPath()
|
||||
* @method static string|null segment(int $index, string|null $default = null)
|
||||
* @method static array segments()
|
||||
* @method static bool is(mixed ...$patterns)
|
||||
* @method static bool routeIs(mixed ...$patterns)
|
||||
* @method static bool fullUrlIs(mixed ...$patterns)
|
||||
* @method static string host()
|
||||
* @method static string httpHost()
|
||||
* @method static string schemeAndHttpHost()
|
||||
* @method static bool ajax()
|
||||
* @method static bool pjax()
|
||||
* @method static bool prefetch()
|
||||
* @method static bool secure()
|
||||
* @method static string|null ip()
|
||||
* @method static array ips()
|
||||
* @method static string|null userAgent()
|
||||
* @method static \Illuminate\Http\Request merge(array $input)
|
||||
* @method static \Illuminate\Http\Request mergeIfMissing(array $input)
|
||||
* @method static \Illuminate\Http\Request replace(array $input)
|
||||
* @method static mixed get(string $key, mixed $default = null)
|
||||
* @method static \Symfony\Component\HttpFoundation\InputBag|mixed json(string|null $key = null, mixed $default = null)
|
||||
* @method static \Illuminate\Http\Request createFrom(\Illuminate\Http\Request $from, \Illuminate\Http\Request|null $to = null)
|
||||
* @method static \Illuminate\Http\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request)
|
||||
* @method static \Illuminate\Http\Request duplicate(array|null $query = null, array|null $request = null, array|null $attributes = null, array|null $cookies = null, array|null $files = null, array|null $server = null)
|
||||
* @method static bool hasSession(bool $skipIfUninitialized = false)
|
||||
* @method static \Symfony\Component\HttpFoundation\Session\SessionInterface getSession()
|
||||
* @method static \Illuminate\Contracts\Session\Session session()
|
||||
* @method static void setLaravelSession(\Illuminate\Contracts\Session\Session $session)
|
||||
* @method static void setRequestLocale(string $locale)
|
||||
* @method static void setDefaultRequestLocale(string $locale)
|
||||
* @method static mixed user(string|null $guard = null)
|
||||
* @method static \Illuminate\Routing\Route|object|string|null route(string|null $param = null, mixed $default = null)
|
||||
* @method static string fingerprint()
|
||||
* @method static \Illuminate\Http\Request setJson(\Symfony\Component\HttpFoundation\InputBag $json)
|
||||
* @method static \Closure getUserResolver()
|
||||
* @method static \Illuminate\Http\Request setUserResolver(\Closure $callback)
|
||||
* @method static \Closure getRouteResolver()
|
||||
* @method static \Illuminate\Http\Request setRouteResolver(\Closure $callback)
|
||||
* @method static array toArray()
|
||||
* @method static void initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null)
|
||||
* @method static \Illuminate\Http\Request createFromGlobals()
|
||||
* @method static \Illuminate\Http\Request create(string $uri, string $method = 'GET', array $parameters = [], array $cookies = [], array $files = [], array $server = [], string|resource|null $content = null)
|
||||
* @method static void setFactory(callable|null $callable)
|
||||
* @method static void overrideGlobals()
|
||||
* @method static void setTrustedProxies(array $proxies, int $trustedHeaderSet)
|
||||
* @method static string[] getTrustedProxies()
|
||||
* @method static int getTrustedHeaderSet()
|
||||
* @method static void setTrustedHosts(array $hostPatterns)
|
||||
* @method static string[] getTrustedHosts()
|
||||
* @method static string normalizeQueryString(string|null $qs)
|
||||
* @method static void enableHttpMethodParameterOverride()
|
||||
* @method static bool getHttpMethodParameterOverride()
|
||||
* @method static bool hasPreviousSession()
|
||||
* @method static void setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session)
|
||||
* @method static array getClientIps()
|
||||
* @method static string|null getClientIp()
|
||||
* @method static string getScriptName()
|
||||
* @method static string getPathInfo()
|
||||
* @method static string getBasePath()
|
||||
* @method static string getBaseUrl()
|
||||
* @method static string getScheme()
|
||||
* @method static int|string|null getPort()
|
||||
* @method static string|null getUser()
|
||||
* @method static string|null getPassword()
|
||||
* @method static string|null getUserInfo()
|
||||
* @method static string getHttpHost()
|
||||
* @method static string getRequestUri()
|
||||
* @method static string getSchemeAndHttpHost()
|
||||
* @method static string getUri()
|
||||
* @method static string getUriForPath(string $path)
|
||||
* @method static string getRelativeUriForPath(string $path)
|
||||
* @method static string|null getQueryString()
|
||||
* @method static bool isSecure()
|
||||
* @method static string getHost()
|
||||
* @method static void setMethod(string $method)
|
||||
* @method static string getMethod()
|
||||
* @method static string getRealMethod()
|
||||
* @method static string|null getMimeType(string $format)
|
||||
* @method static string[] getMimeTypes(string $format)
|
||||
* @method static string|null getFormat(string|null $mimeType)
|
||||
* @method static void setFormat(string|null $format, string|string[] $mimeTypes)
|
||||
* @method static string|null getRequestFormat(string|null $default = 'html')
|
||||
* @method static void setRequestFormat(string|null $format)
|
||||
* @method static string|null getContentTypeFormat()
|
||||
* @method static void setDefaultLocale(string $locale)
|
||||
* @method static string getDefaultLocale()
|
||||
* @method static void setLocale(string $locale)
|
||||
* @method static string getLocale()
|
||||
* @method static bool isMethod(string $method)
|
||||
* @method static bool isMethodSafe()
|
||||
* @method static bool isMethodIdempotent()
|
||||
* @method static bool isMethodCacheable()
|
||||
* @method static string|null getProtocolVersion()
|
||||
* @method static string|resource getContent(bool $asResource = false)
|
||||
* @method static \Symfony\Component\HttpFoundation\InputBag getPayload()
|
||||
* @method static array getETags()
|
||||
* @method static bool isNoCache()
|
||||
* @method static string|null getPreferredFormat(string|null $default = 'html')
|
||||
* @method static string|null getPreferredLanguage(string[] $locales = null)
|
||||
* @method static string[] getLanguages()
|
||||
* @method static string[] getCharsets()
|
||||
* @method static string[] getEncodings()
|
||||
* @method static string[] getAcceptableContentTypes()
|
||||
* @method static bool isXmlHttpRequest()
|
||||
* @method static bool preferSafeContent()
|
||||
* @method static bool isFromTrustedProxy()
|
||||
* @method static array filterPrecognitiveRules(array $rules)
|
||||
* @method static bool isAttemptingPrecognition()
|
||||
* @method static bool isPrecognitive()
|
||||
* @method static bool isJson()
|
||||
* @method static bool expectsJson()
|
||||
* @method static bool wantsJson()
|
||||
* @method static bool accepts(string|array $contentTypes)
|
||||
* @method static string|null prefers(string|array $contentTypes)
|
||||
* @method static bool acceptsAnyContentType()
|
||||
* @method static bool acceptsJson()
|
||||
* @method static bool acceptsHtml()
|
||||
* @method static bool matchesType(string $actual, string $type)
|
||||
* @method static string format(string $default = 'html')
|
||||
* @method static string|array|null old(string|null $key = null, \Illuminate\Database\Eloquent\Model|string|array|null $default = null)
|
||||
* @method static void flash()
|
||||
* @method static void flashOnly(array|mixed $keys)
|
||||
* @method static void flashExcept(array|mixed $keys)
|
||||
* @method static void flush()
|
||||
* @method static string|array|null server(string|null $key = null, string|array|null $default = null)
|
||||
* @method static bool hasHeader(string $key)
|
||||
* @method static string|array|null header(string|null $key = null, string|array|null $default = null)
|
||||
* @method static string|null bearerToken()
|
||||
* @method static bool exists(string|array $key)
|
||||
* @method static bool has(string|array $key)
|
||||
* @method static bool hasAny(string|array $keys)
|
||||
* @method static \Illuminate\Http\Request|mixed whenHas(string $key, callable $callback, callable|null $default = null)
|
||||
* @method static bool filled(string|array $key)
|
||||
* @method static bool isNotFilled(string|array $key)
|
||||
* @method static bool anyFilled(string|array $keys)
|
||||
* @method static \Illuminate\Http\Request|mixed whenFilled(string $key, callable $callback, callable|null $default = null)
|
||||
* @method static bool missing(string|array $key)
|
||||
* @method static \Illuminate\Http\Request|mixed whenMissing(string $key, callable $callback, callable|null $default = null)
|
||||
* @method static array keys()
|
||||
* @method static array all(array|mixed|null $keys = null)
|
||||
* @method static mixed input(string|null $key = null, mixed $default = null)
|
||||
* @method static \Illuminate\Support\Stringable str(string $key, mixed $default = null)
|
||||
* @method static \Illuminate\Support\Stringable string(string $key, mixed $default = null)
|
||||
* @method static bool boolean(string|null $key = null, bool $default = false)
|
||||
* @method static int integer(string $key, int $default = 0)
|
||||
* @method static float float(string $key, float $default = 0)
|
||||
* @method static \Illuminate\Support\Carbon|null date(string $key, string|null $format = null, string|null $tz = null)
|
||||
* @method static object|null enum(string $key, string $enumClass)
|
||||
* @method static \Illuminate\Support\Collection collect(array|string|null $key = null)
|
||||
* @method static array only(array|mixed $keys)
|
||||
* @method static array except(array|mixed $keys)
|
||||
* @method static string|array|null query(string|null $key = null, string|array|null $default = null)
|
||||
* @method static string|array|null post(string|null $key = null, string|array|null $default = null)
|
||||
* @method static bool hasCookie(string $key)
|
||||
* @method static string|array|null cookie(string|null $key = null, string|array|null $default = null)
|
||||
* @method static array allFiles()
|
||||
* @method static bool hasFile(string $key)
|
||||
* @method static \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null file(string|null $key = null, mixed $default = null)
|
||||
* @method static \Illuminate\Http\Request dump(mixed $keys = [])
|
||||
* @method static never dd(mixed ...$args)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static array validate(array $rules, ...$params)
|
||||
* @method static array validateWithBag(string $errorBag, array $rules, ...$params)
|
||||
* @method static bool hasValidSignature(bool $absolute = true)
|
||||
*
|
||||
* @see \Illuminate\Http\Request
|
||||
*/
|
||||
class Request extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'request';
|
||||
}
|
||||
}
|
||||
41
plugins/php-imap/vendor/illuminate/support/Facades/Response.php
vendored
Executable file
41
plugins/php-imap/vendor/illuminate/support/Facades/Response.php
vendored
Executable file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Http\Response make(mixed $content = '', int $status = 200, array $headers = [])
|
||||
* @method static \Illuminate\Http\Response noContent(int $status = 204, array $headers = [])
|
||||
* @method static \Illuminate\Http\Response view(string|array $view, array $data = [], int $status = 200, array $headers = [])
|
||||
* @method static \Illuminate\Http\JsonResponse json(mixed $data = [], int $status = 200, array $headers = [], int $options = 0)
|
||||
* @method static \Illuminate\Http\JsonResponse jsonp(string $callback, mixed $data = [], int $status = 200, array $headers = [], int $options = 0)
|
||||
* @method static \Symfony\Component\HttpFoundation\StreamedResponse stream(callable $callback, int $status = 200, array $headers = [])
|
||||
* @method static \Symfony\Component\HttpFoundation\StreamedJsonResponse streamJson(array $data, int $status = 200, array $headers = [], int $encodingOptions = 15)
|
||||
* @method static \Symfony\Component\HttpFoundation\StreamedResponse streamDownload(callable $callback, string|null $name = null, array $headers = [], string|null $disposition = 'attachment')
|
||||
* @method static \Symfony\Component\HttpFoundation\BinaryFileResponse download(\SplFileInfo|string $file, string|null $name = null, array $headers = [], string|null $disposition = 'attachment')
|
||||
* @method static \Symfony\Component\HttpFoundation\BinaryFileResponse file(\SplFileInfo|string $file, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse redirectTo(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
|
||||
* @method static \Illuminate\Http\RedirectResponse redirectToRoute(string $route, mixed $parameters = [], int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse redirectToAction(array|string $action, mixed $parameters = [], int $status = 302, array $headers = [])
|
||||
* @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], bool|null $secure = null)
|
||||
* @method static \Illuminate\Http\RedirectResponse redirectToIntended(string $default = '/', int $status = 302, array $headers = [], bool|null $secure = null)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Routing\ResponseFactory
|
||||
*/
|
||||
class Response extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return ResponseFactoryContract::class;
|
||||
}
|
||||
}
|
||||
116
plugins/php-imap/vendor/illuminate/support/Facades/Route.php
vendored
Executable file
116
plugins/php-imap/vendor/illuminate/support/Facades/Route.php
vendored
Executable file
@@ -0,0 +1,116 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Routing\Route get(string $uri, array|string|callable|null $action = null)
|
||||
* @method static \Illuminate\Routing\Route post(string $uri, array|string|callable|null $action = null)
|
||||
* @method static \Illuminate\Routing\Route put(string $uri, array|string|callable|null $action = null)
|
||||
* @method static \Illuminate\Routing\Route patch(string $uri, array|string|callable|null $action = null)
|
||||
* @method static \Illuminate\Routing\Route delete(string $uri, array|string|callable|null $action = null)
|
||||
* @method static \Illuminate\Routing\Route options(string $uri, array|string|callable|null $action = null)
|
||||
* @method static \Illuminate\Routing\Route any(string $uri, array|string|callable|null $action = null)
|
||||
* @method static \Illuminate\Routing\Route fallback(array|string|callable|null $action)
|
||||
* @method static \Illuminate\Routing\Route redirect(string $uri, string $destination, int $status = 302)
|
||||
* @method static \Illuminate\Routing\Route permanentRedirect(string $uri, string $destination)
|
||||
* @method static \Illuminate\Routing\Route view(string $uri, string $view, array $data = [], int|array $status = 200, array $headers = [])
|
||||
* @method static \Illuminate\Routing\Route match(array|string $methods, string $uri, array|string|callable|null $action = null)
|
||||
* @method static void resources(array $resources, array $options = [])
|
||||
* @method static \Illuminate\Routing\PendingResourceRegistration resource(string $name, string $controller, array $options = [])
|
||||
* @method static void apiResources(array $resources, array $options = [])
|
||||
* @method static \Illuminate\Routing\PendingResourceRegistration apiResource(string $name, string $controller, array $options = [])
|
||||
* @method static void singletons(array $singletons, array $options = [])
|
||||
* @method static \Illuminate\Routing\PendingSingletonResourceRegistration singleton(string $name, string $controller, array $options = [])
|
||||
* @method static void apiSingletons(array $singletons, array $options = [])
|
||||
* @method static \Illuminate\Routing\PendingSingletonResourceRegistration apiSingleton(string $name, string $controller, array $options = [])
|
||||
* @method static \Illuminate\Routing\Router group(array $attributes, \Closure|array|string $routes)
|
||||
* @method static array mergeWithLastGroup(array $new, bool $prependExistingPrefix = true)
|
||||
* @method static string getLastGroupPrefix()
|
||||
* @method static \Illuminate\Routing\Route addRoute(array|string $methods, string $uri, array|string|callable|null $action)
|
||||
* @method static \Illuminate\Routing\Route newRoute(array|string $methods, string $uri, mixed $action)
|
||||
* @method static \Symfony\Component\HttpFoundation\Response respondWithRoute(string $name)
|
||||
* @method static \Symfony\Component\HttpFoundation\Response dispatch(\Illuminate\Http\Request $request)
|
||||
* @method static \Symfony\Component\HttpFoundation\Response dispatchToRoute(\Illuminate\Http\Request $request)
|
||||
* @method static array gatherRouteMiddleware(\Illuminate\Routing\Route $route)
|
||||
* @method static array resolveMiddleware(array $middleware, array $excluded = [])
|
||||
* @method static \Symfony\Component\HttpFoundation\Response prepareResponse(\Symfony\Component\HttpFoundation\Request $request, mixed $response)
|
||||
* @method static \Symfony\Component\HttpFoundation\Response toResponse(\Symfony\Component\HttpFoundation\Request $request, mixed $response)
|
||||
* @method static \Illuminate\Routing\Route substituteBindings(\Illuminate\Routing\Route $route)
|
||||
* @method static void substituteImplicitBindings(\Illuminate\Routing\Route $route)
|
||||
* @method static \Illuminate\Routing\Router substituteImplicitBindingsUsing(callable $callback)
|
||||
* @method static void matched(string|callable $callback)
|
||||
* @method static array getMiddleware()
|
||||
* @method static \Illuminate\Routing\Router aliasMiddleware(string $name, string $class)
|
||||
* @method static bool hasMiddlewareGroup(string $name)
|
||||
* @method static array getMiddlewareGroups()
|
||||
* @method static \Illuminate\Routing\Router middlewareGroup(string $name, array $middleware)
|
||||
* @method static \Illuminate\Routing\Router prependMiddlewareToGroup(string $group, string $middleware)
|
||||
* @method static \Illuminate\Routing\Router pushMiddlewareToGroup(string $group, string $middleware)
|
||||
* @method static \Illuminate\Routing\Router removeMiddlewareFromGroup(string $group, string $middleware)
|
||||
* @method static \Illuminate\Routing\Router flushMiddlewareGroups()
|
||||
* @method static void bind(string $key, string|callable $binder)
|
||||
* @method static void model(string $key, string $class, \Closure|null $callback = null)
|
||||
* @method static \Closure|null getBindingCallback(string $key)
|
||||
* @method static array getPatterns()
|
||||
* @method static void pattern(string $key, string $pattern)
|
||||
* @method static void patterns(array $patterns)
|
||||
* @method static bool hasGroupStack()
|
||||
* @method static array getGroupStack()
|
||||
* @method static mixed input(string $key, string|null $default = null)
|
||||
* @method static \Illuminate\Http\Request getCurrentRequest()
|
||||
* @method static \Illuminate\Routing\Route|null getCurrentRoute()
|
||||
* @method static \Illuminate\Routing\Route|null current()
|
||||
* @method static bool has(string|array $name)
|
||||
* @method static string|null currentRouteName()
|
||||
* @method static bool is(mixed ...$patterns)
|
||||
* @method static bool currentRouteNamed(mixed ...$patterns)
|
||||
* @method static string|null currentRouteAction()
|
||||
* @method static bool uses(array ...$patterns)
|
||||
* @method static bool currentRouteUses(string $action)
|
||||
* @method static void singularResourceParameters(bool $singular = true)
|
||||
* @method static void resourceParameters(array $parameters = [])
|
||||
* @method static array|null resourceVerbs(array $verbs = [])
|
||||
* @method static \Illuminate\Routing\RouteCollectionInterface getRoutes()
|
||||
* @method static void setRoutes(\Illuminate\Routing\RouteCollection $routes)
|
||||
* @method static void setCompiledRoutes(array $routes)
|
||||
* @method static array uniqueMiddleware(array $middleware)
|
||||
* @method static \Illuminate\Routing\Router setContainer(\Illuminate\Container\Container $container)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static mixed macroCall(string $method, array $parameters)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar attribute(string $key, mixed $value)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar whereAlpha(array|string $parameters)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar whereAlphaNumeric(array|string $parameters)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar whereNumber(array|string $parameters)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar whereUlid(array|string $parameters)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar whereUuid(array|string $parameters)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar whereIn(array|string $parameters, array $values)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar as(string $value)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar controller(string $controller)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar domain(string $value)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar middleware(array|string|null $middleware)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar missing(\Closure $missing)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar name(string $value)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar namespace(string|null $value)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar prefix(string $prefix)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar scopeBindings()
|
||||
* @method static \Illuminate\Routing\RouteRegistrar where(array $where)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar withoutMiddleware(array|string $middleware)
|
||||
* @method static \Illuminate\Routing\RouteRegistrar withoutScopedBindings()
|
||||
*
|
||||
* @see \Illuminate\Routing\Router
|
||||
*/
|
||||
class Route extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'router';
|
||||
}
|
||||
}
|
||||
35
plugins/php-imap/vendor/illuminate/support/Facades/Schedule.php
vendored
Normal file
35
plugins/php-imap/vendor/illuminate/support/Facades/Schedule.php
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Console\Scheduling\Schedule as ConsoleSchedule;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Console\Scheduling\CallbackEvent call(string|callable $callback, array $parameters = [])
|
||||
* @method static \Illuminate\Console\Scheduling\Event command(string $command, array $parameters = [])
|
||||
* @method static \Illuminate\Console\Scheduling\CallbackEvent job(object|string $job, string|null $queue = null, string|null $connection = null)
|
||||
* @method static \Illuminate\Console\Scheduling\Event exec(string $command, array $parameters = [])
|
||||
* @method static string compileArrayInput(string|int $key, array $value)
|
||||
* @method static bool serverShouldRun(\Illuminate\Console\Scheduling\Event $event, \DateTimeInterface $time)
|
||||
* @method static \Illuminate\Support\Collection dueEvents(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static \Illuminate\Console\Scheduling\Event[] events()
|
||||
* @method static \Illuminate\Console\Scheduling\Schedule useCache(string $store)
|
||||
* @method static void macro(string $name, object|callable $macro)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Console\Scheduling\Schedule
|
||||
*/
|
||||
class Schedule extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return ConsoleSchedule::class;
|
||||
}
|
||||
}
|
||||
80
plugins/php-imap/vendor/illuminate/support/Facades/Schema.php
vendored
Executable file
80
plugins/php-imap/vendor/illuminate/support/Facades/Schema.php
vendored
Executable file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static void defaultStringLength(int $length)
|
||||
* @method static void defaultMorphKeyType(string $type)
|
||||
* @method static void morphUsingUuids()
|
||||
* @method static void morphUsingUlids()
|
||||
* @method static bool createDatabase(string $name)
|
||||
* @method static bool dropDatabaseIfExists(string $name)
|
||||
* @method static bool hasTable(string $table)
|
||||
* @method static bool hasView(string $view)
|
||||
* @method static array getTables()
|
||||
* @method static array getTableListing()
|
||||
* @method static array getViews()
|
||||
* @method static array getTypes()
|
||||
* @method static bool hasColumn(string $table, string $column)
|
||||
* @method static bool hasColumns(string $table, array $columns)
|
||||
* @method static void whenTableHasColumn(string $table, string $column, \Closure $callback)
|
||||
* @method static void whenTableDoesntHaveColumn(string $table, string $column, \Closure $callback)
|
||||
* @method static string getColumnType(string $table, string $column, bool $fullDefinition = false)
|
||||
* @method static array getColumnListing(string $table)
|
||||
* @method static array getColumns(string $table)
|
||||
* @method static array getIndexes(string $table)
|
||||
* @method static array getIndexListing(string $table)
|
||||
* @method static bool hasIndex(string $table, string|array $index, string|null $type = null)
|
||||
* @method static array getForeignKeys(string $table)
|
||||
* @method static void table(string $table, \Closure $callback)
|
||||
* @method static void create(string $table, \Closure $callback)
|
||||
* @method static void drop(string $table)
|
||||
* @method static void dropIfExists(string $table)
|
||||
* @method static void dropColumns(string $table, string|array $columns)
|
||||
* @method static void dropAllTables()
|
||||
* @method static void dropAllViews()
|
||||
* @method static void dropAllTypes()
|
||||
* @method static void rename(string $from, string $to)
|
||||
* @method static bool enableForeignKeyConstraints()
|
||||
* @method static bool disableForeignKeyConstraints()
|
||||
* @method static mixed withoutForeignKeyConstraints(\Closure $callback)
|
||||
* @method static \Illuminate\Database\Connection getConnection()
|
||||
* @method static \Illuminate\Database\Schema\Builder setConnection(\Illuminate\Database\Connection $connection)
|
||||
* @method static void blueprintResolver(\Closure $resolver)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Database\Schema\Builder
|
||||
*/
|
||||
class Schema extends Facade
|
||||
{
|
||||
/**
|
||||
* Indicates if the resolved facade should be cached.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected static $cached = false;
|
||||
|
||||
/**
|
||||
* Get a schema builder instance for a connection.
|
||||
*
|
||||
* @param string|null $name
|
||||
* @return \Illuminate\Database\Schema\Builder
|
||||
*/
|
||||
public static function connection($name)
|
||||
{
|
||||
return static::$app['db']->connection($name)->getSchemaBuilder();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'db.schema';
|
||||
}
|
||||
}
|
||||
84
plugins/php-imap/vendor/illuminate/support/Facades/Session.php
vendored
Executable file
84
plugins/php-imap/vendor/illuminate/support/Facades/Session.php
vendored
Executable file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static bool shouldBlock()
|
||||
* @method static string|null blockDriver()
|
||||
* @method static int defaultRouteBlockLockSeconds()
|
||||
* @method static int defaultRouteBlockWaitSeconds()
|
||||
* @method static array getSessionConfig()
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static void setDefaultDriver(string $name)
|
||||
* @method static mixed driver(string|null $driver = null)
|
||||
* @method static \Illuminate\Session\SessionManager extend(string $driver, \Closure $callback)
|
||||
* @method static array getDrivers()
|
||||
* @method static \Illuminate\Contracts\Container\Container getContainer()
|
||||
* @method static \Illuminate\Session\SessionManager setContainer(\Illuminate\Contracts\Container\Container $container)
|
||||
* @method static \Illuminate\Session\SessionManager forgetDrivers()
|
||||
* @method static bool start()
|
||||
* @method static void save()
|
||||
* @method static void ageFlashData()
|
||||
* @method static array all()
|
||||
* @method static array only(array $keys)
|
||||
* @method static array except(array $keys)
|
||||
* @method static bool exists(string|array $key)
|
||||
* @method static bool missing(string|array $key)
|
||||
* @method static bool has(string|array $key)
|
||||
* @method static bool hasAny(string|array $key)
|
||||
* @method static mixed get(string $key, mixed $default = null)
|
||||
* @method static mixed pull(string $key, mixed $default = null)
|
||||
* @method static bool hasOldInput(string|null $key = null)
|
||||
* @method static mixed getOldInput(string|null $key = null, mixed $default = null)
|
||||
* @method static void replace(array $attributes)
|
||||
* @method static void put(string|array $key, mixed $value = null)
|
||||
* @method static mixed remember(string $key, \Closure $callback)
|
||||
* @method static void push(string $key, mixed $value)
|
||||
* @method static mixed increment(string $key, int $amount = 1)
|
||||
* @method static int decrement(string $key, int $amount = 1)
|
||||
* @method static void flash(string $key, mixed $value = true)
|
||||
* @method static void now(string $key, mixed $value)
|
||||
* @method static void reflash()
|
||||
* @method static void keep(array|mixed $keys = null)
|
||||
* @method static void flashInput(array $value)
|
||||
* @method static mixed remove(string $key)
|
||||
* @method static void forget(string|array $keys)
|
||||
* @method static void flush()
|
||||
* @method static bool invalidate()
|
||||
* @method static bool regenerate(bool $destroy = false)
|
||||
* @method static bool migrate(bool $destroy = false)
|
||||
* @method static bool isStarted()
|
||||
* @method static string getName()
|
||||
* @method static void setName(string $name)
|
||||
* @method static string getId()
|
||||
* @method static void setId(string|null $id)
|
||||
* @method static bool isValidId(string|null $id)
|
||||
* @method static void setExists(bool $value)
|
||||
* @method static string token()
|
||||
* @method static void regenerateToken()
|
||||
* @method static string|null previousUrl()
|
||||
* @method static void setPreviousUrl(string $url)
|
||||
* @method static void passwordConfirmed()
|
||||
* @method static \SessionHandlerInterface getHandler()
|
||||
* @method static \SessionHandlerInterface setHandler(\SessionHandlerInterface $handler)
|
||||
* @method static bool handlerNeedsRequest()
|
||||
* @method static void setRequestOnHandler(\Illuminate\Http\Request $request)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Session\SessionManager
|
||||
*/
|
||||
class Session extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'session';
|
||||
}
|
||||
}
|
||||
142
plugins/php-imap/vendor/illuminate/support/Facades/Storage.php
vendored
Normal file
142
plugins/php-imap/vendor/illuminate/support/Facades/Storage.php
vendored
Normal file
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
use Illuminate\Filesystem\Filesystem;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Contracts\Filesystem\Filesystem drive(string|null $name = null)
|
||||
* @method static \Illuminate\Contracts\Filesystem\Filesystem disk(string|null $name = null)
|
||||
* @method static \Illuminate\Contracts\Filesystem\Cloud cloud()
|
||||
* @method static \Illuminate\Contracts\Filesystem\Filesystem build(string|array $config)
|
||||
* @method static \Illuminate\Contracts\Filesystem\Filesystem createLocalDriver(array $config)
|
||||
* @method static \Illuminate\Contracts\Filesystem\Filesystem createFtpDriver(array $config)
|
||||
* @method static \Illuminate\Contracts\Filesystem\Filesystem createSftpDriver(array $config)
|
||||
* @method static \Illuminate\Contracts\Filesystem\Cloud createS3Driver(array $config)
|
||||
* @method static \Illuminate\Contracts\Filesystem\Filesystem createScopedDriver(array $config)
|
||||
* @method static \Illuminate\Filesystem\FilesystemManager set(string $name, mixed $disk)
|
||||
* @method static string getDefaultDriver()
|
||||
* @method static string getDefaultCloudDriver()
|
||||
* @method static \Illuminate\Filesystem\FilesystemManager forgetDisk(array|string $disk)
|
||||
* @method static void purge(string|null $name = null)
|
||||
* @method static \Illuminate\Filesystem\FilesystemManager extend(string $driver, \Closure $callback)
|
||||
* @method static \Illuminate\Filesystem\FilesystemManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
||||
* @method static string path(string $path)
|
||||
* @method static bool exists(string $path)
|
||||
* @method static string|null get(string $path)
|
||||
* @method static resource|null readStream(string $path)
|
||||
* @method static bool put(string $path, \Psr\Http\Message\StreamInterface|\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|resource $contents, mixed $options = [])
|
||||
* @method static string|false putFile(\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path, \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file = null, mixed $options = [])
|
||||
* @method static string|false putFileAs(\Illuminate\Http\File|\Illuminate\Http\UploadedFile|string $path, \Illuminate\Http\File|\Illuminate\Http\UploadedFile|string|array|null $file, string|array|null $name = null, mixed $options = [])
|
||||
* @method static bool writeStream(string $path, resource $resource, array $options = [])
|
||||
* @method static string getVisibility(string $path)
|
||||
* @method static bool setVisibility(string $path, string $visibility)
|
||||
* @method static bool prepend(string $path, string $data)
|
||||
* @method static bool append(string $path, string $data)
|
||||
* @method static bool delete(string|array $paths)
|
||||
* @method static bool copy(string $from, string $to)
|
||||
* @method static bool move(string $from, string $to)
|
||||
* @method static int size(string $path)
|
||||
* @method static int lastModified(string $path)
|
||||
* @method static array files(string|null $directory = null, bool $recursive = false)
|
||||
* @method static array allFiles(string|null $directory = null)
|
||||
* @method static array directories(string|null $directory = null, bool $recursive = false)
|
||||
* @method static array allDirectories(string|null $directory = null)
|
||||
* @method static bool makeDirectory(string $path)
|
||||
* @method static bool deleteDirectory(string $directory)
|
||||
* @method static \Illuminate\Filesystem\FilesystemAdapter assertExists(string|array $path, string|null $content = null)
|
||||
* @method static \Illuminate\Filesystem\FilesystemAdapter assertMissing(string|array $path)
|
||||
* @method static \Illuminate\Filesystem\FilesystemAdapter assertDirectoryEmpty(string $path)
|
||||
* @method static bool missing(string $path)
|
||||
* @method static bool fileExists(string $path)
|
||||
* @method static bool fileMissing(string $path)
|
||||
* @method static bool directoryExists(string $path)
|
||||
* @method static bool directoryMissing(string $path)
|
||||
* @method static array|null json(string $path, int $flags = 0)
|
||||
* @method static \Symfony\Component\HttpFoundation\StreamedResponse response(string $path, string|null $name = null, array $headers = [], string|null $disposition = 'inline')
|
||||
* @method static \Symfony\Component\HttpFoundation\StreamedResponse download(string $path, string|null $name = null, array $headers = [])
|
||||
* @method static string|false checksum(string $path, array $options = [])
|
||||
* @method static string|false mimeType(string $path)
|
||||
* @method static string url(string $path)
|
||||
* @method static bool providesTemporaryUrls()
|
||||
* @method static string temporaryUrl(string $path, \DateTimeInterface $expiration, array $options = [])
|
||||
* @method static array temporaryUploadUrl(string $path, \DateTimeInterface $expiration, array $options = [])
|
||||
* @method static \League\Flysystem\FilesystemOperator getDriver()
|
||||
* @method static \League\Flysystem\FilesystemAdapter getAdapter()
|
||||
* @method static array getConfig()
|
||||
* @method static void buildTemporaryUrlsUsing(\Closure $callback)
|
||||
* @method static \Illuminate\Filesystem\FilesystemAdapter|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static \Illuminate\Filesystem\FilesystemAdapter|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static mixed macroCall(string $method, array $parameters)
|
||||
* @method static bool has(string $location)
|
||||
* @method static string read(string $location)
|
||||
* @method static \League\Flysystem\DirectoryListing listContents(string $location, bool $deep = false)
|
||||
* @method static int fileSize(string $path)
|
||||
* @method static string visibility(string $path)
|
||||
* @method static void write(string $location, string $contents, array $config = [])
|
||||
* @method static void createDirectory(string $location, array $config = [])
|
||||
*
|
||||
* @see \Illuminate\Filesystem\FilesystemManager
|
||||
*/
|
||||
class Storage extends Facade
|
||||
{
|
||||
/**
|
||||
* Replace the given disk with a local testing disk.
|
||||
*
|
||||
* @param string|null $disk
|
||||
* @param array $config
|
||||
* @return \Illuminate\Contracts\Filesystem\Filesystem
|
||||
*/
|
||||
public static function fake($disk = null, array $config = [])
|
||||
{
|
||||
$disk = $disk ?: static::$app['config']->get('filesystems.default');
|
||||
|
||||
$root = storage_path('framework/testing/disks/'.$disk);
|
||||
|
||||
if ($token = ParallelTesting::token()) {
|
||||
$root = "{$root}_test_{$token}";
|
||||
}
|
||||
|
||||
(new Filesystem)->cleanDirectory($root);
|
||||
|
||||
static::set($disk, $fake = static::createLocalDriver(array_merge($config, [
|
||||
'root' => $root,
|
||||
])));
|
||||
|
||||
return tap($fake)->buildTemporaryUrlsUsing(function ($path, $expiration) {
|
||||
return URL::to($path.'?expiration='.$expiration->getTimestamp());
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Replace the given disk with a persistent local testing disk.
|
||||
*
|
||||
* @param string|null $disk
|
||||
* @param array $config
|
||||
* @return \Illuminate\Contracts\Filesystem\Filesystem
|
||||
*/
|
||||
public static function persistentFake($disk = null, array $config = [])
|
||||
{
|
||||
$disk = $disk ?: static::$app['config']->get('filesystems.default');
|
||||
|
||||
static::set($disk, $fake = static::createLocalDriver(array_merge($config, [
|
||||
'root' => storage_path('framework/testing/disks/'.$disk),
|
||||
])));
|
||||
|
||||
return $fake;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'filesystem';
|
||||
}
|
||||
}
|
||||
64
plugins/php-imap/vendor/illuminate/support/Facades/URL.php
vendored
Executable file
64
plugins/php-imap/vendor/illuminate/support/Facades/URL.php
vendored
Executable file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static string full()
|
||||
* @method static string current()
|
||||
* @method static string previous(mixed $fallback = false)
|
||||
* @method static string previousPath(mixed $fallback = false)
|
||||
* @method static string to(string $path, mixed $extra = [], bool|null $secure = null)
|
||||
* @method static string query(string $path, array $query = [], mixed $extra = [], bool|null $secure = null)
|
||||
* @method static string secure(string $path, array $parameters = [])
|
||||
* @method static string asset(string $path, bool|null $secure = null)
|
||||
* @method static string secureAsset(string $path)
|
||||
* @method static string assetFrom(string $root, string $path, bool|null $secure = null)
|
||||
* @method static string formatScheme(bool|null $secure = null)
|
||||
* @method static string signedRoute(string $name, mixed $parameters = [], \DateTimeInterface|\DateInterval|int|null $expiration = null, bool $absolute = true)
|
||||
* @method static string temporarySignedRoute(string $name, \DateTimeInterface|\DateInterval|int $expiration, array $parameters = [], bool $absolute = true)
|
||||
* @method static bool hasValidSignature(\Illuminate\Http\Request $request, bool $absolute = true, array $ignoreQuery = [])
|
||||
* @method static bool hasValidRelativeSignature(\Illuminate\Http\Request $request, array $ignoreQuery = [])
|
||||
* @method static bool hasCorrectSignature(\Illuminate\Http\Request $request, bool $absolute = true, array $ignoreQuery = [])
|
||||
* @method static bool signatureHasNotExpired(\Illuminate\Http\Request $request)
|
||||
* @method static string route(string $name, mixed $parameters = [], bool $absolute = true)
|
||||
* @method static string toRoute(\Illuminate\Routing\Route $route, mixed $parameters, bool $absolute)
|
||||
* @method static string action(string|array $action, mixed $parameters = [], bool $absolute = true)
|
||||
* @method static array formatParameters(mixed|array $parameters)
|
||||
* @method static string formatRoot(string $scheme, string|null $root = null)
|
||||
* @method static string format(string $root, string $path, \Illuminate\Routing\Route|null $route = null)
|
||||
* @method static bool isValidUrl(string $path)
|
||||
* @method static void defaults(array $defaults)
|
||||
* @method static array getDefaultParameters()
|
||||
* @method static void forceScheme(string|null $scheme)
|
||||
* @method static void forceRootUrl(string|null $root)
|
||||
* @method static \Illuminate\Routing\UrlGenerator formatHostUsing(\Closure $callback)
|
||||
* @method static \Illuminate\Routing\UrlGenerator formatPathUsing(\Closure $callback)
|
||||
* @method static \Closure pathFormatter()
|
||||
* @method static \Illuminate\Http\Request getRequest()
|
||||
* @method static void setRequest(\Illuminate\Http\Request $request)
|
||||
* @method static \Illuminate\Routing\UrlGenerator setRoutes(\Illuminate\Routing\RouteCollectionInterface $routes)
|
||||
* @method static \Illuminate\Routing\UrlGenerator setSessionResolver(callable $sessionResolver)
|
||||
* @method static \Illuminate\Routing\UrlGenerator setKeyResolver(callable $keyResolver)
|
||||
* @method static \Illuminate\Routing\UrlGenerator withKeyResolver(callable $keyResolver)
|
||||
* @method static \Illuminate\Routing\UrlGenerator resolveMissingNamedRoutesUsing(callable $missingNamedRouteResolver)
|
||||
* @method static string getRootControllerNamespace()
|
||||
* @method static \Illuminate\Routing\UrlGenerator setRootControllerNamespace(string $rootNamespace)
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Routing\UrlGenerator
|
||||
*/
|
||||
class URL extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'url';
|
||||
}
|
||||
}
|
||||
34
plugins/php-imap/vendor/illuminate/support/Facades/Validator.php
vendored
Executable file
34
plugins/php-imap/vendor/illuminate/support/Facades/Validator.php
vendored
Executable file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Validation\Validator make(array $data, array $rules, array $messages = [], array $attributes = [])
|
||||
* @method static array validate(array $data, array $rules, array $messages = [], array $attributes = [])
|
||||
* @method static void extend(string $rule, \Closure|string $extension, string|null $message = null)
|
||||
* @method static void extendImplicit(string $rule, \Closure|string $extension, string|null $message = null)
|
||||
* @method static void extendDependent(string $rule, \Closure|string $extension, string|null $message = null)
|
||||
* @method static void replacer(string $rule, \Closure|string $replacer)
|
||||
* @method static void includeUnvalidatedArrayKeys()
|
||||
* @method static void excludeUnvalidatedArrayKeys()
|
||||
* @method static void resolver(\Closure $resolver)
|
||||
* @method static \Illuminate\Contracts\Translation\Translator getTranslator()
|
||||
* @method static \Illuminate\Validation\PresenceVerifierInterface getPresenceVerifier()
|
||||
* @method static void setPresenceVerifier(\Illuminate\Validation\PresenceVerifierInterface $presenceVerifier)
|
||||
* @method static \Illuminate\Contracts\Container\Container|null getContainer()
|
||||
* @method static \Illuminate\Validation\Factory setContainer(\Illuminate\Contracts\Container\Container $container)
|
||||
*
|
||||
* @see \Illuminate\Validation\Factory
|
||||
*/
|
||||
class Validator extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'validator';
|
||||
}
|
||||
}
|
||||
97
plugins/php-imap/vendor/illuminate/support/Facades/View.php
vendored
Executable file
97
plugins/php-imap/vendor/illuminate/support/Facades/View.php
vendored
Executable file
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Contracts\View\View file(string $path, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = [])
|
||||
* @method static \Illuminate\Contracts\View\View make(string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = [])
|
||||
* @method static \Illuminate\Contracts\View\View first(array $views, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = [])
|
||||
* @method static string renderWhen(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = [])
|
||||
* @method static string renderUnless(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = [])
|
||||
* @method static string renderEach(string $view, array $data, string $iterator, string $empty = 'raw|')
|
||||
* @method static bool exists(string $view)
|
||||
* @method static \Illuminate\Contracts\View\Engine getEngineFromPath(string $path)
|
||||
* @method static mixed share(array|string $key, mixed|null $value = null)
|
||||
* @method static void incrementRender()
|
||||
* @method static void decrementRender()
|
||||
* @method static bool doneRendering()
|
||||
* @method static bool hasRenderedOnce(string $id)
|
||||
* @method static void markAsRenderedOnce(string $id)
|
||||
* @method static void addLocation(string $location)
|
||||
* @method static \Illuminate\View\Factory addNamespace(string $namespace, string|array $hints)
|
||||
* @method static \Illuminate\View\Factory prependNamespace(string $namespace, string|array $hints)
|
||||
* @method static \Illuminate\View\Factory replaceNamespace(string $namespace, string|array $hints)
|
||||
* @method static void addExtension(string $extension, string $engine, \Closure|null $resolver = null)
|
||||
* @method static void flushState()
|
||||
* @method static void flushStateIfDoneRendering()
|
||||
* @method static array getExtensions()
|
||||
* @method static \Illuminate\View\Engines\EngineResolver getEngineResolver()
|
||||
* @method static \Illuminate\View\ViewFinderInterface getFinder()
|
||||
* @method static void setFinder(\Illuminate\View\ViewFinderInterface $finder)
|
||||
* @method static void flushFinderCache()
|
||||
* @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher()
|
||||
* @method static void setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
|
||||
* @method static \Illuminate\Contracts\Container\Container getContainer()
|
||||
* @method static void setContainer(\Illuminate\Contracts\Container\Container $container)
|
||||
* @method static mixed shared(string $key, mixed $default = null)
|
||||
* @method static array getShared()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
* @method static void startComponent(\Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view, array $data = [])
|
||||
* @method static void startComponentFirst(array $names, array $data = [])
|
||||
* @method static string renderComponent()
|
||||
* @method static mixed|null getConsumableComponentData(string $key, mixed $default = null)
|
||||
* @method static void slot(string $name, string|null $content = null, array $attributes = [])
|
||||
* @method static void endSlot()
|
||||
* @method static array creator(array|string $views, \Closure|string $callback)
|
||||
* @method static array composers(array $composers)
|
||||
* @method static array composer(array|string $views, \Closure|string $callback)
|
||||
* @method static void callComposer(\Illuminate\Contracts\View\View $view)
|
||||
* @method static void callCreator(\Illuminate\Contracts\View\View $view)
|
||||
* @method static void startFragment(string $fragment)
|
||||
* @method static string stopFragment()
|
||||
* @method static mixed getFragment(string $name, string|null $default = null)
|
||||
* @method static array getFragments()
|
||||
* @method static void flushFragments()
|
||||
* @method static void startSection(string $section, string|null $content = null)
|
||||
* @method static void inject(string $section, string $content)
|
||||
* @method static string yieldSection()
|
||||
* @method static string stopSection(bool $overwrite = false)
|
||||
* @method static string appendSection()
|
||||
* @method static string yieldContent(string $section, string $default = '')
|
||||
* @method static string parentPlaceholder(string $section = '')
|
||||
* @method static bool hasSection(string $name)
|
||||
* @method static bool sectionMissing(string $name)
|
||||
* @method static mixed getSection(string $name, string|null $default = null)
|
||||
* @method static array getSections()
|
||||
* @method static void flushSections()
|
||||
* @method static void addLoop(\Countable|array $data)
|
||||
* @method static void incrementLoopIndices()
|
||||
* @method static void popLoop()
|
||||
* @method static \stdClass|null getLastLoop()
|
||||
* @method static array getLoopStack()
|
||||
* @method static void startPush(string $section, string $content = '')
|
||||
* @method static string stopPush()
|
||||
* @method static void startPrepend(string $section, string $content = '')
|
||||
* @method static string stopPrepend()
|
||||
* @method static string yieldPushContent(string $section, string $default = '')
|
||||
* @method static void flushStacks()
|
||||
* @method static void startTranslation(array $replacements = [])
|
||||
* @method static string renderTranslation()
|
||||
*
|
||||
* @see \Illuminate\View\Factory
|
||||
*/
|
||||
class View extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'view';
|
||||
}
|
||||
}
|
||||
43
plugins/php-imap/vendor/illuminate/support/Facades/Vite.php
vendored
Normal file
43
plugins/php-imap/vendor/illuminate/support/Facades/Vite.php
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @method static array preloadedAssets()
|
||||
* @method static string|null cspNonce()
|
||||
* @method static string useCspNonce(string|null $nonce = null)
|
||||
* @method static \Illuminate\Foundation\Vite useIntegrityKey(string|false $key)
|
||||
* @method static \Illuminate\Foundation\Vite withEntryPoints(array $entryPoints)
|
||||
* @method static \Illuminate\Foundation\Vite useManifestFilename(string $filename)
|
||||
* @method static \Illuminate\Foundation\Vite createAssetPathsUsing(callable|null $resolver)
|
||||
* @method static string hotFile()
|
||||
* @method static \Illuminate\Foundation\Vite useHotFile(string $path)
|
||||
* @method static \Illuminate\Foundation\Vite useBuildDirectory(string $path)
|
||||
* @method static \Illuminate\Foundation\Vite useScriptTagAttributes(callable|array $attributes)
|
||||
* @method static \Illuminate\Foundation\Vite useStyleTagAttributes(callable|array $attributes)
|
||||
* @method static \Illuminate\Foundation\Vite usePreloadTagAttributes(callable|array|false $attributes)
|
||||
* @method static \Illuminate\Support\HtmlString|void reactRefresh()
|
||||
* @method static string asset(string $asset, string|null $buildDirectory = null)
|
||||
* @method static string content(string $asset, string|null $buildDirectory = null)
|
||||
* @method static string|null manifestHash(string|null $buildDirectory = null)
|
||||
* @method static bool isRunningHot()
|
||||
* @method static string toHtml()
|
||||
* @method static void macro(string $name, object|callable $macro, object|callable $macro = null)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
* @method static bool hasMacro(string $name)
|
||||
* @method static void flushMacros()
|
||||
*
|
||||
* @see \Illuminate\Foundation\Vite
|
||||
*/
|
||||
class Vite extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return \Illuminate\Foundation\Vite::class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user