App.php
1 month ago
Artisan.php
1 month ago
Auth.php
1 month ago
Blade.php
1 month ago
Broadcast.php
1 month ago
Bus.php
1 month ago
Cache.php
1 month ago
Config.php
1 month ago
Cookie.php
1 month ago
Crypt.php
1 month ago
DB.php
1 month ago
Date.php
1 month ago
Event.php
1 month ago
Facade.php
1 month ago
File.php
1 month ago
Gate.php
1 month ago
Hash.php
1 month ago
Http.php
1 month ago
Lang.php
1 month ago
Log.php
1 month ago
Mail.php
1 month ago
Notification.php
1 month ago
ParallelTesting.php
1 month ago
Password.php
1 month ago
Queue.php
1 month ago
RateLimiter.php
1 month ago
Redirect.php
1 month ago
Redis.php
1 month ago
Request.php
1 month ago
Response.php
1 month ago
Route.php
1 month ago
Schema.php
1 month ago
Session.php
1 month ago
Storage.php
1 month ago
URL.php
1 month ago
Validator.php
1 month ago
View.php
1 month ago
Vite.php
1 month ago
DB.php
121 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static \Illuminate\Database\Connection connection(string|null $name = null) |
| 7 | * @method static void registerDoctrineType(string $class, string $name, string $type) |
| 8 | * @method static void purge(string|null $name = null) |
| 9 | * @method static void disconnect(string|null $name = null) |
| 10 | * @method static \Illuminate\Database\Connection reconnect(string|null $name = null) |
| 11 | * @method static mixed usingConnection(string $name, callable $callback) |
| 12 | * @method static string getDefaultConnection() |
| 13 | * @method static void setDefaultConnection(string $name) |
| 14 | * @method static string[] supportedDrivers() |
| 15 | * @method static string[] availableDrivers() |
| 16 | * @method static void extend(string $name, callable $resolver) |
| 17 | * @method static void forgetExtension(string $name) |
| 18 | * @method static array getConnections() |
| 19 | * @method static void setReconnector(callable $reconnector) |
| 20 | * @method static \Illuminate\Database\DatabaseManager setApplication(\Illuminate\Contracts\Foundation\Application $app) |
| 21 | * @method static void macro(string $name, object|callable $macro) |
| 22 | * @method static void mixin(object $mixin, bool $replace = true) |
| 23 | * @method static bool hasMacro(string $name) |
| 24 | * @method static void flushMacros() |
| 25 | * @method static mixed macroCall(string $method, array $parameters) |
| 26 | * @method static void useDefaultQueryGrammar() |
| 27 | * @method static void useDefaultSchemaGrammar() |
| 28 | * @method static void useDefaultPostProcessor() |
| 29 | * @method static \Illuminate\Database\Schema\Builder getSchemaBuilder() |
| 30 | * @method static \Illuminate\Database\Query\Builder table(\Closure|\Illuminate\Database\Query\Builder|string $table, string|null $as = null) |
| 31 | * @method static \Illuminate\Database\Query\Builder query() |
| 32 | * @method static mixed selectOne(string $query, array $bindings = [], bool $useReadPdo = true) |
| 33 | * @method static mixed scalar(string $query, array $bindings = [], bool $useReadPdo = true) |
| 34 | * @method static array selectFromWriteConnection(string $query, array $bindings = []) |
| 35 | * @method static array select(string $query, array $bindings = [], bool $useReadPdo = true) |
| 36 | * @method static \Generator cursor(string $query, array $bindings = [], bool $useReadPdo = true) |
| 37 | * @method static bool insert(string $query, array $bindings = []) |
| 38 | * @method static int update(string $query, array $bindings = []) |
| 39 | * @method static int delete(string $query, array $bindings = []) |
| 40 | * @method static bool statement(string $query, array $bindings = []) |
| 41 | * @method static int affectingStatement(string $query, array $bindings = []) |
| 42 | * @method static bool unprepared(string $query) |
| 43 | * @method static array pretend(\Closure $callback) |
| 44 | * @method static void bindValues(\PDOStatement $statement, array $bindings) |
| 45 | * @method static array prepareBindings(array $bindings) |
| 46 | * @method static void logQuery(string $query, array $bindings, float|null $time = null) |
| 47 | * @method static void whenQueryingForLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler) |
| 48 | * @method static void allowQueryDurationHandlersToRunAgain() |
| 49 | * @method static float totalQueryDuration() |
| 50 | * @method static void resetTotalQueryDuration() |
| 51 | * @method static \Illuminate\Database\Connection beforeExecuting(\Closure $callback) |
| 52 | * @method static void listen(\Closure $callback) |
| 53 | * @method static \Illuminate\Database\Query\Expression raw(mixed $value) |
| 54 | * @method static bool hasModifiedRecords() |
| 55 | * @method static void recordsHaveBeenModified(bool $value = true) |
| 56 | * @method static \Illuminate\Database\Connection setRecordModificationState(bool $value) |
| 57 | * @method static void forgetRecordModificationState() |
| 58 | * @method static \Illuminate\Database\Connection useWriteConnectionWhenReading(bool $value = true) |
| 59 | * @method static bool isDoctrineAvailable() |
| 60 | * @method static bool usingNativeSchemaOperations() |
| 61 | * @method static \Doctrine\DBAL\Schema\Column getDoctrineColumn(string $table, string $column) |
| 62 | * @method static \Doctrine\DBAL\Schema\AbstractSchemaManager getDoctrineSchemaManager() |
| 63 | * @method static \Doctrine\DBAL\Connection getDoctrineConnection() |
| 64 | * @method static \PDO getPdo() |
| 65 | * @method static \PDO|\Closure|null getRawPdo() |
| 66 | * @method static \PDO getReadPdo() |
| 67 | * @method static \PDO|\Closure|null getRawReadPdo() |
| 68 | * @method static \Illuminate\Database\Connection setPdo(\PDO|\Closure|null $pdo) |
| 69 | * @method static \Illuminate\Database\Connection setReadPdo(\PDO|\Closure|null $pdo) |
| 70 | * @method static string|null getName() |
| 71 | * @method static string|null getNameWithReadWriteType() |
| 72 | * @method static mixed getConfig(string|null $option = null) |
| 73 | * @method static string getDriverName() |
| 74 | * @method static \Illuminate\Database\Query\Grammars\Grammar getQueryGrammar() |
| 75 | * @method static \Illuminate\Database\Connection setQueryGrammar(\Illuminate\Database\Query\Grammars\Grammar $grammar) |
| 76 | * @method static \Illuminate\Database\Schema\Grammars\Grammar getSchemaGrammar() |
| 77 | * @method static \Illuminate\Database\Connection setSchemaGrammar(\Illuminate\Database\Schema\Grammars\Grammar $grammar) |
| 78 | * @method static \Illuminate\Database\Query\Processors\Processor getPostProcessor() |
| 79 | * @method static \Illuminate\Database\Connection setPostProcessor(\Illuminate\Database\Query\Processors\Processor $processor) |
| 80 | * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() |
| 81 | * @method static \Illuminate\Database\Connection setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) |
| 82 | * @method static void unsetEventDispatcher() |
| 83 | * @method static \Illuminate\Database\Connection setTransactionManager(\Illuminate\Database\DatabaseTransactionsManager $manager) |
| 84 | * @method static void unsetTransactionManager() |
| 85 | * @method static bool pretending() |
| 86 | * @method static array getQueryLog() |
| 87 | * @method static void flushQueryLog() |
| 88 | * @method static void enableQueryLog() |
| 89 | * @method static void disableQueryLog() |
| 90 | * @method static bool logging() |
| 91 | * @method static string getDatabaseName() |
| 92 | * @method static \Illuminate\Database\Connection setDatabaseName(string $database) |
| 93 | * @method static \Illuminate\Database\Connection setReadWriteType(string|null $readWriteType) |
| 94 | * @method static string getTablePrefix() |
| 95 | * @method static \Illuminate\Database\Connection setTablePrefix(string $prefix) |
| 96 | * @method static \Illuminate\Database\Grammar withTablePrefix(\Illuminate\Database\Grammar $grammar) |
| 97 | * @method static void resolverFor(string $driver, \Closure $callback) |
| 98 | * @method static mixed getResolver(string $driver) |
| 99 | * @method static mixed transaction(\Closure $callback, int $attempts = 1) |
| 100 | * @method static void beginTransaction() |
| 101 | * @method static void commit() |
| 102 | * @method static void rollBack(int|null $toLevel = null) |
| 103 | * @method static int transactionLevel() |
| 104 | * @method static void afterCommit(callable $callback) |
| 105 | * |
| 106 | * @see \Illuminate\Database\DatabaseManager |
| 107 | * @internal |
| 108 | */ |
| 109 | class DB extends Facade |
| 110 | { |
| 111 | /** |
| 112 | * Get the registered name of the component. |
| 113 | * |
| 114 | * @return string |
| 115 | */ |
| 116 | protected static function getFacadeAccessor() |
| 117 | { |
| 118 | return 'db'; |
| 119 | } |
| 120 | } |
| 121 |