diff --git a/_ide_helper.php b/_ide_helper.php index f817be46..6da5690c 100644 --- a/_ide_helper.php +++ b/_ide_helper.php @@ -4,7 +4,7 @@ /** * A helper file for Laravel, to provide autocomplete information to your IDE - * Generated for Laravel 10.16.1. + * Generated for Laravel 10.38.1. * * This file should not be included in your code, only analyzed by your IDE! * @@ -435,6 +435,18 @@ public static function runningInConsole() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->runningInConsole(); + } + /** + * Determine if the application is running any of the given console commands. + * + * @param string|array $commands + * @return bool + * @static + */ + public static function runningConsoleCommand(...$commands) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->runningConsoleCommand(...$commands); } /** * Determine if the application is running unit tests. @@ -2860,6 +2872,7 @@ public static function getCompiledPath($path) * * @param string $path * @return bool + * @throws \ErrorException * @static */ public static function isExpired($path) @@ -3505,6 +3518,18 @@ public static function assertDispatchedWithoutChain($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertDispatchedWithoutChain($command, $callback); + } + /** + * Create a new assertion about a chained batch. + * + * @param \Closure $callback + * @return \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest + * @static + */ + public static function chainedBatch($callback) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->chainedBatch($callback); } /** * Assert if a batch was dispatched based on a truth-test callback. @@ -3651,6 +3676,18 @@ public static function recordPendingBatch($pendingBatch) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->recordPendingBatch($pendingBatch); + } + /** + * Specify if commands should be serialized and restored when being batched. + * + * @param bool $serializeAndRestore + * @return \Illuminate\Support\Testing\Fakes\BusFake + * @static + */ + public static function serializeAndRestore($serializeAndRestore = true) + { + /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ + return $instance->serializeAndRestore($serializeAndRestore); } } @@ -5270,27 +5307,16 @@ public static function macroCall($method, $parameters) { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->macroCall($method, $parameters); - } - /** - * Determine if the connected database is a MariaDB database. - * - * @return bool - * @static - */ - public static function isMaria() - { - /** @var \Illuminate\Database\MySqlConnection $instance */ - return $instance->isMaria(); } /** * Get a schema builder instance for the connection. * - * @return \Illuminate\Database\Schema\MySqlBuilder + * @return \Illuminate\Database\Schema\PostgresBuilder * @static */ public static function getSchemaBuilder() { - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getSchemaBuilder(); } /** @@ -5298,12 +5324,12 @@ public static function getSchemaBuilder() * * @param \Illuminate\Filesystem\Filesystem|null $files * @param callable|null $processFactory - * @return \Illuminate\Database\Schema\MySqlSchemaState + * @return \Illuminate\Database\Schema\PostgresSchemaState * @static */ public static function getSchemaState($files = null, $processFactory = null) { - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getSchemaState($files, $processFactory); } /** @@ -5314,7 +5340,7 @@ public static function getSchemaState($files = null, $processFactory = null) */ public static function useDefaultQueryGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->useDefaultQueryGrammar(); } /** @@ -5325,7 +5351,7 @@ public static function useDefaultQueryGrammar() */ public static function useDefaultSchemaGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->useDefaultSchemaGrammar(); } /** @@ -5336,7 +5362,7 @@ public static function useDefaultSchemaGrammar() */ public static function useDefaultPostProcessor() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->useDefaultPostProcessor(); } /** @@ -5349,7 +5375,7 @@ public static function useDefaultPostProcessor() */ public static function table($table, $as = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->table($table, $as); } /** @@ -5360,7 +5386,7 @@ public static function table($table, $as = null) */ public static function query() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->query(); } /** @@ -5374,7 +5400,7 @@ public static function query() */ public static function selectOne($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->selectOne($query, $bindings, $useReadPdo); } /** @@ -5389,7 +5415,7 @@ public static function selectOne($query, $bindings = [], $useReadPdo = true) */ public static function scalar($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->scalar($query, $bindings, $useReadPdo); } /** @@ -5402,7 +5428,7 @@ public static function scalar($query, $bindings = [], $useReadPdo = true) */ public static function selectFromWriteConnection($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->selectFromWriteConnection($query, $bindings); } /** @@ -5416,7 +5442,7 @@ public static function selectFromWriteConnection($query, $bindings = []) */ public static function select($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->select($query, $bindings, $useReadPdo); } /** @@ -5430,7 +5456,7 @@ public static function select($query, $bindings = [], $useReadPdo = true) */ public static function selectResultSets($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->selectResultSets($query, $bindings, $useReadPdo); } /** @@ -5444,7 +5470,7 @@ public static function selectResultSets($query, $bindings = [], $useReadPdo = tr */ public static function cursor($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->cursor($query, $bindings, $useReadPdo); } /** @@ -5457,7 +5483,7 @@ public static function cursor($query, $bindings = [], $useReadPdo = true) */ public static function insert($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->insert($query, $bindings); } /** @@ -5470,7 +5496,7 @@ public static function insert($query, $bindings = []) */ public static function update($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->update($query, $bindings); } /** @@ -5483,7 +5509,7 @@ public static function update($query, $bindings = []) */ public static function delete($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->delete($query, $bindings); } /** @@ -5496,7 +5522,7 @@ public static function delete($query, $bindings = []) */ public static function statement($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->statement($query, $bindings); } /** @@ -5509,7 +5535,7 @@ public static function statement($query, $bindings = []) */ public static function affectingStatement($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->affectingStatement($query, $bindings); } /** @@ -5521,7 +5547,7 @@ public static function affectingStatement($query, $bindings = []) */ public static function unprepared($query) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->unprepared($query); } /** @@ -5533,8 +5559,20 @@ public static function unprepared($query) */ public static function pretend($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->pretend($callback); + } + /** + * Execute the given callback without "pretending". + * + * @param \Closure $callback + * @return mixed + * @static + */ + public static function withoutPretending($callback) + { //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\PostgresConnection $instance */ + return $instance->withoutPretending($callback); } /** * Bind values to their parameters in the given statement. @@ -5546,7 +5584,7 @@ public static function pretend($callback) */ public static function bindValues($statement, $bindings) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->bindValues($statement, $bindings); } /** @@ -5558,7 +5596,7 @@ public static function bindValues($statement, $bindings) */ public static function prepareBindings($bindings) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->prepareBindings($bindings); } /** @@ -5572,7 +5610,7 @@ public static function prepareBindings($bindings) */ public static function logQuery($query, $bindings, $time = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->logQuery($query, $bindings, $time); } /** @@ -5585,7 +5623,7 @@ public static function logQuery($query, $bindings, $time = null) */ public static function whenQueryingForLongerThan($threshold, $handler) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->whenQueryingForLongerThan($threshold, $handler); } /** @@ -5596,7 +5634,7 @@ public static function whenQueryingForLongerThan($threshold, $handler) */ public static function allowQueryDurationHandlersToRunAgain() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->allowQueryDurationHandlersToRunAgain(); } /** @@ -5607,7 +5645,7 @@ public static function allowQueryDurationHandlersToRunAgain() */ public static function totalQueryDuration() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->totalQueryDuration(); } /** @@ -5618,7 +5656,7 @@ public static function totalQueryDuration() */ public static function resetTotalQueryDuration() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->resetTotalQueryDuration(); } /** @@ -5629,19 +5667,19 @@ public static function resetTotalQueryDuration() */ public static function reconnectIfMissingConnection() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->reconnectIfMissingConnection(); } /** * Register a hook to be run just before a database query is executed. * * @param \Closure $callback - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function beforeExecuting($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->beforeExecuting($callback); } /** @@ -5653,7 +5691,7 @@ public static function beforeExecuting($callback) */ public static function listen($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->listen($callback); } /** @@ -5665,7 +5703,7 @@ public static function listen($callback) */ public static function raw($value) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->raw($value); } /** @@ -5678,7 +5716,7 @@ public static function raw($value) */ public static function escape($value, $binary = false) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->escape($value, $binary); } /** @@ -5689,7 +5727,7 @@ public static function escape($value, $binary = false) */ public static function hasModifiedRecords() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->hasModifiedRecords(); } /** @@ -5701,19 +5739,19 @@ public static function hasModifiedRecords() */ public static function recordsHaveBeenModified($value = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->recordsHaveBeenModified($value); } /** * Set the record modification state. * * @param bool $value - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setRecordModificationState($value) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setRecordModificationState($value); } /** @@ -5724,19 +5762,19 @@ public static function setRecordModificationState($value) */ public static function forgetRecordModificationState() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->forgetRecordModificationState(); } /** * Indicate that the connection should use the write PDO connection for reads. * * @param bool $value - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function useWriteConnectionWhenReading($value = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->useWriteConnectionWhenReading($value); } /** @@ -5747,7 +5785,7 @@ public static function useWriteConnectionWhenReading($value = true) */ public static function isDoctrineAvailable() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->isDoctrineAvailable(); } /** @@ -5758,7 +5796,7 @@ public static function isDoctrineAvailable() */ public static function usingNativeSchemaOperations() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->usingNativeSchemaOperations(); } /** @@ -5771,7 +5809,7 @@ public static function usingNativeSchemaOperations() */ public static function getDoctrineColumn($table, $column) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getDoctrineColumn($table, $column); } /** @@ -5782,7 +5820,7 @@ public static function getDoctrineColumn($table, $column) */ public static function getDoctrineSchemaManager() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getDoctrineSchemaManager(); } /** @@ -5793,7 +5831,7 @@ public static function getDoctrineSchemaManager() */ public static function getDoctrineConnection() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getDoctrineConnection(); } /** @@ -5804,7 +5842,7 @@ public static function getDoctrineConnection() */ public static function getPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getPdo(); } /** @@ -5815,7 +5853,7 @@ public static function getPdo() */ public static function getRawPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getRawPdo(); } /** @@ -5826,7 +5864,7 @@ public static function getRawPdo() */ public static function getReadPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getReadPdo(); } /** @@ -5837,31 +5875,31 @@ public static function getReadPdo() */ public static function getRawReadPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getRawReadPdo(); } /** * Set the PDO connection. * * @param \PDO|\Closure|null $pdo - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setPdo($pdo) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setPdo($pdo); } /** * Set the PDO connection used for reading. * * @param \PDO|\Closure|null $pdo - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setReadPdo($pdo) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setReadPdo($pdo); } /** @@ -5872,7 +5910,7 @@ public static function setReadPdo($pdo) */ public static function getName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getName(); } /** @@ -5883,7 +5921,7 @@ public static function getName() */ public static function getNameWithReadWriteType() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getNameWithReadWriteType(); } /** @@ -5895,7 +5933,7 @@ public static function getNameWithReadWriteType() */ public static function getConfig($option = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getConfig($option); } /** @@ -5906,7 +5944,7 @@ public static function getConfig($option = null) */ public static function getDriverName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getDriverName(); } /** @@ -5917,19 +5955,19 @@ public static function getDriverName() */ public static function getQueryGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getQueryGrammar(); } /** * Set the query grammar used by the connection. * * @param \Illuminate\Database\Query\Grammars\Grammar $grammar - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setQueryGrammar($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setQueryGrammar($grammar); } /** @@ -5940,19 +5978,19 @@ public static function setQueryGrammar($grammar) */ public static function getSchemaGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getSchemaGrammar(); } /** * Set the schema grammar used by the connection. * * @param \Illuminate\Database\Schema\Grammars\Grammar $grammar - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setSchemaGrammar($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setSchemaGrammar($grammar); } /** @@ -5963,19 +6001,19 @@ public static function setSchemaGrammar($grammar) */ public static function getPostProcessor() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getPostProcessor(); } /** * Set the query post processor used by the connection. * * @param \Illuminate\Database\Query\Processors\Processor $processor - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setPostProcessor($processor) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setPostProcessor($processor); } /** @@ -5986,19 +6024,19 @@ public static function setPostProcessor($processor) */ public static function getEventDispatcher() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getEventDispatcher(); } /** * Set the event dispatcher instance on the connection. * * @param \Illuminate\Contracts\Events\Dispatcher $events - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setEventDispatcher($events) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setEventDispatcher($events); } /** @@ -6009,19 +6047,19 @@ public static function setEventDispatcher($events) */ public static function unsetEventDispatcher() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->unsetEventDispatcher(); } /** * Set the transaction manager instance on the connection. * * @param \Illuminate\Database\DatabaseTransactionsManager $manager - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setTransactionManager($manager) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setTransactionManager($manager); } /** @@ -6032,7 +6070,7 @@ public static function setTransactionManager($manager) */ public static function unsetTransactionManager() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->unsetTransactionManager(); } /** @@ -6043,7 +6081,7 @@ public static function unsetTransactionManager() */ public static function pretending() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->pretending(); } /** @@ -6054,7 +6092,7 @@ public static function pretending() */ public static function getQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getQueryLog(); } /** @@ -6065,7 +6103,7 @@ public static function getQueryLog() */ public static function getRawQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getRawQueryLog(); } /** @@ -6076,7 +6114,7 @@ public static function getRawQueryLog() */ public static function flushQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->flushQueryLog(); } /** @@ -6087,7 +6125,7 @@ public static function flushQueryLog() */ public static function enableQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->enableQueryLog(); } /** @@ -6098,7 +6136,7 @@ public static function enableQueryLog() */ public static function disableQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->disableQueryLog(); } /** @@ -6109,7 +6147,7 @@ public static function disableQueryLog() */ public static function logging() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->logging(); } /** @@ -6120,31 +6158,31 @@ public static function logging() */ public static function getDatabaseName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getDatabaseName(); } /** * Set the name of the connected database. * * @param string $database - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setDatabaseName($database) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setDatabaseName($database); } /** * Set the read / write type of the connection. * * @param string|null $readWriteType - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setReadWriteType($readWriteType) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setReadWriteType($readWriteType); } /** @@ -6155,19 +6193,19 @@ public static function setReadWriteType($readWriteType) */ public static function getTablePrefix() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->getTablePrefix(); } /** * Set the table prefix in use by the connection. * * @param string $prefix - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\PostgresConnection * @static */ public static function setTablePrefix($prefix) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->setTablePrefix($prefix); } /** @@ -6179,7 +6217,7 @@ public static function setTablePrefix($prefix) */ public static function withTablePrefix($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->withTablePrefix($grammar); } /** @@ -6192,7 +6230,7 @@ public static function withTablePrefix($grammar) */ public static function resolverFor($driver, $callback) { //Method inherited from \Illuminate\Database\Connection - \Illuminate\Database\MySqlConnection::resolverFor($driver, $callback); + \Illuminate\Database\PostgresConnection::resolverFor($driver, $callback); } /** * Get the connection resolver for the given driver. @@ -6203,7 +6241,7 @@ public static function resolverFor($driver, $callback) */ public static function getResolver($driver) { //Method inherited from \Illuminate\Database\Connection - return \Illuminate\Database\MySqlConnection::getResolver($driver); + return \Illuminate\Database\PostgresConnection::getResolver($driver); } /** * Execute a Closure within a transaction. @@ -6216,7 +6254,7 @@ public static function getResolver($driver) */ public static function transaction($callback, $attempts = 1) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->transaction($callback, $attempts); } /** @@ -6228,7 +6266,7 @@ public static function transaction($callback, $attempts = 1) */ public static function beginTransaction() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->beginTransaction(); } /** @@ -6240,7 +6278,7 @@ public static function beginTransaction() */ public static function commit() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->commit(); } /** @@ -6253,7 +6291,7 @@ public static function commit() */ public static function rollBack($toLevel = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->rollBack($toLevel); } /** @@ -6264,7 +6302,7 @@ public static function rollBack($toLevel = null) */ public static function transactionLevel() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ return $instance->transactionLevel(); } /** @@ -6277,7 +6315,7 @@ public static function transactionLevel() */ public static function afterCommit($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\PostgresConnection $instance */ $instance->afterCommit($callback); } @@ -6462,6 +6500,18 @@ public static function setQueueResolver($resolver) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->setQueueResolver($resolver); + } + /** + * Set the database transaction manager resolver implementation. + * + * @param callable $resolver + * @return \Illuminate\Events\Dispatcher + * @static + */ + public static function setTransactionManagerResolver($resolver) + { + /** @var \Illuminate\Events\Dispatcher $instance */ + return $instance->setTransactionManagerResolver($resolver); } /** * Gets the raw, unprepared listeners. @@ -6807,13 +6857,14 @@ public static function prepend($path, $data) * * @param string $path * @param string $data + * @param bool $lock * @return int * @static */ - public static function append($path, $data) + public static function append($path, $data, $lock = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ - return $instance->append($path, $data); + return $instance->append($path, $data, $lock); } /** * Get or set UNIX mode of a file or directory. @@ -7863,7 +7914,7 @@ public static function forgetDrivers() * @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(int $times, Closure|int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true) + * @method static \Illuminate\Http\Client\PendingRequest retry(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) @@ -8128,6 +8179,17 @@ public static function getDispatcher() { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->getDispatcher(); + } + /** + * Get the array of global middleware. + * + * @return array + * @static + */ + public static function getGlobalMiddleware() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->getGlobalMiddleware(); } /** * Register a custom macro. @@ -8281,6 +8343,18 @@ public static function load($namespace, $group, $locale) { /** @var \Illuminate\Translation\Translator $instance */ $instance->load($namespace, $group, $locale); + } + /** + * Register a callback that is responsible for handling missing translation keys. + * + * @param callable|null $callback + * @return static + * @static + */ + public static function handleMissingKeysUsing($callback) + { + /** @var \Illuminate\Translation\Translator $instance */ + return $instance->handleMissingKeysUsing($callback); } /** * Add a new namespace to the loader. @@ -10408,6 +10482,18 @@ public static function pushedJobs() { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->pushedJobs(); + } + /** + * Specify if jobs should be serialized and restored when being "pushed" to the queue. + * + * @param bool $serializeAndRestore + * @return \Illuminate\Support\Testing\Fakes\QueueFake + * @static + */ + public static function serializeAndRestore($serializeAndRestore = true) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + return $instance->serializeAndRestore($serializeAndRestore); } /** * Get the connection name for the queue. @@ -11257,7 +11343,7 @@ public static function get($key, $default = null) * * @param string|null $key * @param mixed $default - * @return \Symfony\Component\HttpFoundation\ParameterBag|mixed + * @return \Symfony\Component\HttpFoundation\InputBag|mixed * @static */ public static function json($key = null, $default = null) @@ -11419,7 +11505,7 @@ public static function fingerprint() /** * Set the JSON payload for the request. * - * @param \Symfony\Component\HttpFoundation\ParameterBag $json + * @param \Symfony\Component\HttpFoundation\InputBag $json * @return \Illuminate\Http\Request * @static */ @@ -13346,7 +13432,7 @@ public static function redirectToRoute($route, $parameters = [], $status = 302, /** * Create a new redirect response to a controller action. * - * @param string $action + * @param array|string $action * @param mixed $parameters * @param int $status * @param array $headers @@ -13450,6 +13536,7 @@ public static function flushMacros() * @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) @@ -13906,6 +13993,18 @@ public static function substituteImplicitBindings($route) { /** @var \Illuminate\Routing\Router $instance */ $instance->substituteImplicitBindings($route); + } + /** + * Register a callback to to run after implicit bindings are substituted. + * + * @param callable $callback + * @return \Illuminate\Routing\Router + * @static + */ + public static function substituteImplicitBindingsUsing($callback) + { + /** @var \Illuminate\Routing\Router $instance */ + return $instance->substituteImplicitBindingsUsing($callback); } /** * Register a route matched event listener. @@ -14470,7 +14569,7 @@ class Schema { */ public static function createDatabase($name) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->createDatabase($name); } /** @@ -14482,7 +14581,7 @@ public static function createDatabase($name) */ public static function dropDatabaseIfExists($name) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->dropDatabaseIfExists($name); } /** @@ -14494,20 +14593,43 @@ public static function dropDatabaseIfExists($name) */ public static function hasTable($table) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->hasTable($table); } /** - * Get the column listing for a given table. + * Get the user-defined types that belong to the database. * - * @param string $table * @return array * @static */ - public static function getColumnListing($table) + public static function getTypes() { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getColumnListing($table); + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getTypes(); + } + /** + * Get all of the table names for the database. + * + * @deprecated Will be removed in a future Laravel version. + * @return array + * @static + */ + public static function getAllTables() + { + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getAllTables(); + } + /** + * Get all of the view names for the database. + * + * @deprecated Will be removed in a future Laravel version. + * @return array + * @static + */ + public static function getAllViews() + { + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getAllViews(); } /** * Drop all tables from the database. @@ -14517,7 +14639,7 @@ public static function getColumnListing($table) */ public static function dropAllTables() { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->dropAllTables(); } /** @@ -14528,30 +14650,67 @@ public static function dropAllTables() */ public static function dropAllViews() { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->dropAllViews(); } /** - * Get all of the table names for the database. + * Get all of the type names for the database. * + * @deprecated Will be removed in a future Laravel version. * @return array * @static */ - public static function getAllTables() + public static function getAllTypes() { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getAllTables(); + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getAllTypes(); } /** - * Get all of the view names for the database. + * Drop all types from the database. * + * @return void + * @static + */ + public static function dropAllTypes() + { + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + $instance->dropAllTypes(); + } + /** + * Get the columns for a given table. + * + * @param string $table * @return array * @static */ - public static function getAllViews() + public static function getColumns($table) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getAllViews(); + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getColumns($table); + } + /** + * Get the indexes for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getIndexes($table) + { + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getIndexes($table); + } + /** + * Get the foreign keys for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getForeignKeys($table) + { + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getForeignKeys($table); } /** * Set the default string length for migrations. @@ -14562,7 +14721,7 @@ public static function getAllViews() */ public static function defaultStringLength($length) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::defaultStringLength($length); + \Illuminate\Database\Schema\PostgresBuilder::defaultStringLength($length); } /** * Set the default morph key type for migrations. @@ -14574,7 +14733,7 @@ public static function defaultStringLength($length) */ public static function defaultMorphKeyType($type) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::defaultMorphKeyType($type); + \Illuminate\Database\Schema\PostgresBuilder::defaultMorphKeyType($type); } /** * Set the default morph key type for migrations to UUIDs. @@ -14584,7 +14743,7 @@ public static function defaultMorphKeyType($type) */ public static function morphUsingUuids() { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::morphUsingUuids(); + \Illuminate\Database\Schema\PostgresBuilder::morphUsingUuids(); } /** * Set the default morph key type for migrations to ULIDs. @@ -14594,7 +14753,7 @@ public static function morphUsingUuids() */ public static function morphUsingUlids() { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::morphUsingUlids(); + \Illuminate\Database\Schema\PostgresBuilder::morphUsingUlids(); } /** * Attempt to use native schema operations for dropping, renaming, and modifying columns, even if Doctrine DBAL is installed. @@ -14605,7 +14764,41 @@ public static function morphUsingUlids() */ public static function useNativeSchemaOperationsIfPossible($value = true) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::useNativeSchemaOperationsIfPossible($value); + \Illuminate\Database\Schema\PostgresBuilder::useNativeSchemaOperationsIfPossible($value); + } + /** + * Determine if the given view exists. + * + * @param string $view + * @return bool + * @static + */ + public static function hasView($view) + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->hasView($view); + } + /** + * Get the tables that belong to the database. + * + * @return array + * @static + */ + public static function getTables() + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getTables(); + } + /** + * Get the views that belong to the database. + * + * @return array + * @static + */ + public static function getViews() + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getViews(); } /** * Determine if the given table has a given column. @@ -14617,7 +14810,7 @@ public static function useNativeSchemaOperationsIfPossible($value = true) */ public static function hasColumn($table, $column) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->hasColumn($table, $column); } /** @@ -14630,7 +14823,7 @@ public static function hasColumn($table, $column) */ public static function hasColumns($table, $columns) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->hasColumns($table, $columns); } /** @@ -14644,7 +14837,7 @@ public static function hasColumns($table, $columns) */ public static function whenTableHasColumn($table, $column, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->whenTableHasColumn($table, $column, $callback); } /** @@ -14658,7 +14851,7 @@ public static function whenTableHasColumn($table, $column, $callback) */ public static function whenTableDoesntHaveColumn($table, $column, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->whenTableDoesntHaveColumn($table, $column, $callback); } /** @@ -14666,13 +14859,26 @@ public static function whenTableDoesntHaveColumn($table, $column, $callback) * * @param string $table * @param string $column + * @param bool $fullDefinition * @return string * @static */ - public static function getColumnType($table, $column) + public static function getColumnType($table, $column, $fullDefinition = false) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getColumnType($table, $column); + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getColumnType($table, $column, $fullDefinition); + } + /** + * Get the column listing for a given table. + * + * @param string $table + * @return array + * @static + */ + public static function getColumnListing($table) + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + return $instance->getColumnListing($table); } /** * Modify a table on the schema. @@ -14684,7 +14890,7 @@ public static function getColumnType($table, $column) */ public static function table($table, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->table($table, $callback); } /** @@ -14697,7 +14903,7 @@ public static function table($table, $callback) */ public static function create($table, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->create($table, $callback); } /** @@ -14709,7 +14915,7 @@ public static function create($table, $callback) */ public static function drop($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->drop($table); } /** @@ -14721,7 +14927,7 @@ public static function drop($table) */ public static function dropIfExists($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->dropIfExists($table); } /** @@ -14734,20 +14940,8 @@ public static function dropIfExists($table) */ public static function dropColumns($table, $columns) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->dropColumns($table, $columns); - } - /** - * Drop all types from the database. - * - * @return void - * @throws \LogicException - * @static - */ - public static function dropAllTypes() - { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - $instance->dropAllTypes(); } /** * Rename a table on the schema. @@ -14759,7 +14953,7 @@ public static function dropAllTypes() */ public static function rename($from, $to) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->rename($from, $to); } /** @@ -14770,7 +14964,7 @@ public static function rename($from, $to) */ public static function enableForeignKeyConstraints() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->enableForeignKeyConstraints(); } /** @@ -14781,7 +14975,7 @@ public static function enableForeignKeyConstraints() */ public static function disableForeignKeyConstraints() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->disableForeignKeyConstraints(); } /** @@ -14793,7 +14987,7 @@ public static function disableForeignKeyConstraints() */ public static function withoutForeignKeyConstraints($callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->withoutForeignKeyConstraints($callback); } /** @@ -14804,19 +14998,19 @@ public static function withoutForeignKeyConstraints($callback) */ public static function getConnection() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->getConnection(); } /** * Set the database connection instance. * * @param \Illuminate\Database\Connection $connection - * @return \Illuminate\Database\Schema\MySqlBuilder + * @return \Illuminate\Database\Schema\PostgresBuilder * @static */ public static function setConnection($connection) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ return $instance->setConnection($connection); } /** @@ -14828,7 +15022,7 @@ public static function setConnection($connection) */ public static function blueprintResolver($resolver) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ $instance->blueprintResolver($resolver); } @@ -14860,6 +15054,28 @@ public static function blockDriver() { /** @var \Illuminate\Session\SessionManager $instance */ return $instance->blockDriver(); + } + /** + * Get the maximum number of seconds the session lock should be held for. + * + * @return int + * @static + */ + public static function defaultRouteBlockLockSeconds() + { + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->defaultRouteBlockLockSeconds(); + } + /** + * Get the maximum number of seconds to wait while attempting to acquire a route block session lock. + * + * @return int + * @static + */ + public static function defaultRouteBlockWaitSeconds() + { + /** @var \Illuminate\Session\SessionManager $instance */ + return $instance->defaultRouteBlockWaitSeconds(); } /** * Get the session configuration. @@ -16865,6 +17081,18 @@ public static function withKeyResolver($keyResolver) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->withKeyResolver($keyResolver); + } + /** + * Set the callback that should be used to attempt to resolve missing named routes. + * + * @param callable $missingNamedRouteResolver + * @return \Illuminate\Routing\UrlGenerator + * @static + */ + public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->resolveMissingNamedRoutesUsing($missingNamedRouteResolver); } /** * Get the root controller namespace. @@ -18236,6 +18464,20 @@ public static function asset($asset, $buildDirectory = null) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->asset($asset, $buildDirectory); + } + /** + * Get the content of a given asset. + * + * @param string $asset + * @param string|null $buildDirectory + * @return string + * @throws \Exception + * @static + */ + public static function content($asset, $buildDirectory = null) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->content($asset, $buildDirectory); } /** * Get a unique hash representing the current manifest, or null if there is no manifest. @@ -18336,6 +18578,13 @@ class Arr { */ class Js { + } + /** + * + * + */ + class Number { + } /** * @@ -18409,7 +18658,6 @@ public static function prependTheAllGroup($groups, $user) * Set owner of given groups * * @param \App\Services\Collection $groups - * @param \App\Models\User $user * @static */ public static function setUser($groups, $user) @@ -18472,7 +18720,6 @@ public static function delete($ids) * Set owner of given twofaccounts * * @param \Illuminate\Support\Collection $twofaccounts - * @param \App\Models\User $user * @static */ public static function setUser($twofaccounts, $user) @@ -18823,6 +19070,138 @@ public static function deleteBackup($filePath) } +} + + namespace Laravel\Socialite\Facades { + /** + * + * + * @see \Laravel\Socialite\SocialiteManager + */ + class Socialite { + /** + * Get a driver instance. + * + * @param string $driver + * @return mixed + * @static + */ + public static function with($driver) + { + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->with($driver); + } + /** + * Build an OAuth 2 provider instance. + * + * @param string $provider + * @param array $config + * @return \Laravel\Socialite\Two\AbstractProvider + * @static + */ + public static function buildProvider($provider, $config) + { + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->buildProvider($provider, $config); + } + /** + * Format the server configuration. + * + * @param array $config + * @return array + * @static + */ + public static function formatConfig($config) + { + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->formatConfig($config); + } + /** + * Forget all of the resolved driver instances. + * + * @return \Laravel\Socialite\SocialiteManager + * @static + */ + public static function forgetDrivers() + { + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->forgetDrivers(); + } + /** + * Set the container instance used by the manager. + * + * @param \Illuminate\Contracts\Container\Container $container + * @return \Laravel\Socialite\SocialiteManager + * @static + */ + public static function setContainer($container) + { + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->setContainer($container); + } + /** + * Get the default driver name. + * + * @return string + * @throws \InvalidArgumentException + * @static + */ + public static function getDefaultDriver() + { + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->getDefaultDriver(); + } + /** + * Get a driver instance. + * + * @param string|null $driver + * @return mixed + * @throws \InvalidArgumentException + * @static + */ + public static function driver($driver = null) + { //Method inherited from \Illuminate\Support\Manager + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->driver($driver); + } + /** + * Register a custom driver creator Closure. + * + * @param string $driver + * @param \Closure $callback + * @return \Laravel\Socialite\SocialiteManager + * @static + */ + public static function extend($driver, $callback) + { //Method inherited from \Illuminate\Support\Manager + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->extend($driver, $callback); + } + /** + * Get all of the created "drivers". + * + * @return array + * @static + */ + public static function getDrivers() + { //Method inherited from \Illuminate\Support\Manager + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->getDrivers(); + } + /** + * Get the container instance used by the manager. + * + * @return \Illuminate\Contracts\Container\Container + * @static + */ + public static function getContainer() + { //Method inherited from \Illuminate\Support\Manager + /** @var \Laravel\Socialite\SocialiteManager $instance */ + return $instance->getContainer(); + } + + } + } namespace Spatie\LaravelIgnition\Facades { @@ -19681,7 +20060,7 @@ public static function firstOrNew($attributes = [], $values = []) } /** - * Get the first record matching the attributes or create it. + * Get the first record matching the attributes. If the record is not found, create it. * * @param array $attributes * @param array $values @@ -19694,6 +20073,20 @@ public static function firstOrCreate($attributes = [], $values = []) return $instance->firstOrCreate($attributes, $values); } + /** + * Attempt to create the record. If a unique constraint violation occurs, attempt to find the matching record. + * + * @param array $attributes + * @param array $values + * @return \Illuminate\Database\Eloquent\Model|static + * @static + */ + public static function createOrFirst($attributes = [], $values = []) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->createOrFirst($attributes, $values); + } + /** * Create or update a record matching the attributes, and fill it with values. * @@ -20052,6 +20445,20 @@ public static function withCasts($casts) return $instance->withCasts($casts); } + /** + * Execute the given Closure within a transaction savepoint if needed. + * + * @template TModelValue + * @param \Closure(): TModelValue $scope + * @return \Illuminate\Database\Eloquent\TModelValue + * @static + */ + public static function withSavepointIfNeeded($scope) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->withSavepointIfNeeded($scope); + } + /** * Get the underlying query builder instance. * @@ -20285,6 +20692,39 @@ public static function chunkById($count, $callback, $column = null, $alias = nul return $instance->chunkById($count, $callback, $column, $alias); } + /** + * Chunk the results of a query by comparing IDs in descending order. + * + * @param int $count + * @param callable $callback + * @param string|null $column + * @param string|null $alias + * @return bool + * @static + */ + public static function chunkByIdDesc($count, $callback, $column = null, $alias = null) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->chunkByIdDesc($count, $callback, $column, $alias); + } + + /** + * Chunk the results of a query by comparing IDs in a given order. + * + * @param int $count + * @param callable $callback + * @param string|null $column + * @param string|null $alias + * @param bool $descending + * @return bool + * @static + */ + public static function orderedChunkById($count, $callback, $column = null, $alias = null, $descending = false) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->orderedChunkById($count, $callback, $column, $alias, $descending); + } + /** * Execute a callback over each item while chunking by ID. * @@ -21107,7 +21547,7 @@ public static function ignoreIndex($index) * @param \Illuminate\Contracts\Database\Query\Expression|string $table * @param \Closure|string $first * @param string|null $operator - * @param string|null $second + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @param string $type * @param bool $where * @return \Illuminate\Database\Query\Builder @@ -21125,7 +21565,7 @@ public static function join($table, $first, $operator = null, $second = null, $t * @param \Illuminate\Contracts\Database\Query\Expression|string $table * @param \Closure|string $first * @param string $operator - * @param string $second + * @param \Illuminate\Contracts\Database\Query\Expression|string $second * @param string $type * @return \Illuminate\Database\Query\Builder * @static @@ -21143,7 +21583,7 @@ public static function joinWhere($table, $first, $operator, $second, $type = 'in * @param string $as * @param \Closure|string $first * @param string|null $operator - * @param string|null $second + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @param string $type * @param bool $where * @return \Illuminate\Database\Query\Builder @@ -21162,7 +21602,7 @@ public static function joinSub($query, $as, $first, $operator = null, $second = * @param \Illuminate\Contracts\Database\Query\Expression|string $table * @param \Closure|string $first * @param string|null $operator - * @param string|null $second + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static */ @@ -21178,7 +21618,7 @@ public static function leftJoin($table, $first, $operator = null, $second = null * @param \Illuminate\Contracts\Database\Query\Expression|string $table * @param \Closure|string $first * @param string $operator - * @param string $second + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static */ @@ -21195,7 +21635,7 @@ public static function leftJoinWhere($table, $first, $operator, $second) * @param string $as * @param \Closure|string $first * @param string|null $operator - * @param string|null $second + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static */ @@ -21211,7 +21651,7 @@ public static function leftJoinSub($query, $as, $first, $operator = null, $secon * @param \Illuminate\Contracts\Database\Query\Expression|string $table * @param \Closure|string $first * @param string|null $operator - * @param string|null $second + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static */ @@ -21227,7 +21667,7 @@ public static function rightJoin($table, $first, $operator = null, $second = nul * @param \Illuminate\Contracts\Database\Query\Expression|string $table * @param \Closure|string $first * @param string $operator - * @param string $second + * @param \Illuminate\Contracts\Database\Query\Expression|string $second * @return \Illuminate\Database\Query\Builder * @static */ @@ -21244,7 +21684,7 @@ public static function rightJoinWhere($table, $first, $operator, $second) * @param string $as * @param \Closure|string $first * @param string|null $operator - * @param string|null $second + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static */ @@ -21260,7 +21700,7 @@ public static function rightJoinSub($query, $as, $first, $operator = null, $seco * @param \Illuminate\Contracts\Database\Query\Expression|string $table * @param \Closure|string|null $first * @param string|null $operator - * @param string|null $second + * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static */ @@ -23238,6 +23678,7 @@ class Lang extends \Illuminate\Support\Facades\Lang {} class Log extends \Illuminate\Support\Facades\Log {} class Mail extends \Illuminate\Support\Facades\Mail {} class Notification extends \Illuminate\Support\Facades\Notification {} + class Number extends \Illuminate\Support\Number {} class Password extends \Illuminate\Support\Facades\Password {} class Process extends \Illuminate\Support\Facades\Process {} class Queue extends \Illuminate\Support\Facades\Queue {} @@ -23259,6 +23700,7 @@ class Groups extends \App\Facades\Groups {} class TwoFAccounts extends \App\Facades\TwoFAccounts {} class Helpers extends \App\Helpers\Helpers {} class DotenvEditor extends \Jackiedo\DotenvEditor\Facades\DotenvEditor {} + class Socialite extends \Laravel\Socialite\Facades\Socialite {} class Flare extends \Spatie\LaravelIgnition\Facades\Flare {} }