Skip to content

Commit

Permalink
Update facade documenter (#52750)
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald authored Sep 12, 2024
1 parent 53193a2 commit 09bc55a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/facades.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ jobs:
Illuminate\\Support\\Facades\\Broadcast \
Illuminate\\Support\\Facades\\Bus \
Illuminate\\Support\\Facades\\Cache \
Illuminate\\Support\\Facades\\Concurrency \
Illuminate\\Support\\Facades\\Config \
Illuminate\\Support\\Facades\\Context \
Illuminate\\Support\\Facades\\Cookie \
Illuminate\\Support\\Facades\\Crypt \
Illuminate\\Support\\Facades\\DB \
Illuminate\\Support\\Facades\\Date \
Illuminate\\Support\\Facades\\Event \
Illuminate\\Support\\Facades\\Exceptions \
Illuminate\\Support\\Facades\\File \
Illuminate\\Support\\Facades\\Gate \
Illuminate\\Support\\Facades\\Hash \
Expand All @@ -76,6 +78,7 @@ jobs:
Illuminate\\Support\\Facades\\Request \
Illuminate\\Support\\Facades\\Response \
Illuminate\\Support\\Facades\\Route \
Illuminate\\Support\\Facades\\Schedule \
Illuminate\\Support\\Facades\\Schema \
Illuminate\\Support\\Facades\\Session \
Illuminate\\Support\\Facades\\Storage \
Expand Down
15 changes: 15 additions & 0 deletions src/Illuminate/Support/Facades/Concurrency.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@
use Illuminate\Concurrency\ConcurrencyManager;

/**
* @method static mixed driver(string|null $name = null)
* @method static \Illuminate\Concurrency\ProcessDriver createProcessDriver(array $config)
* @method static \Illuminate\Concurrency\ForkDriver createForkDriver(array $config)
* @method static \Illuminate\Concurrency\SyncDriver createSyncDriver(array $config)
* @method static string getDefaultInstance()
* @method static void setDefaultInstance(string $name)
* @method static array getInstanceConfig(string $name)
* @method static mixed instance(string|null $name = null)
* @method static \Illuminate\Concurrency\ConcurrencyManager forgetInstance(array|string|null $name = null)
* @method static void purge(string|null $name = null)
* @method static \Illuminate\Concurrency\ConcurrencyManager extend(string $name, \Closure $callback)
* @method static \Illuminate\Concurrency\ConcurrencyManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
* @method static array run(\Closure|array $tasks)
* @method static void background(\Closure|array $tasks)
*
* @see \Illuminate\Concurrency\ConcurrencyManager
*/
class Concurrency extends Facade
Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Support/Facades/Exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @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 \Illuminate\Foundation\Exceptions\Handler level(string $type, string $level)
* @method static void report(\Throwable $e)
* @method static bool shouldReport(\Throwable $e)
* @method static \Illuminate\Foundation\Exceptions\Handler throttleUsing(callable $throttleUsing)
Expand All @@ -25,16 +25,16 @@
* @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 assertNothingReported()
* @method static void renderForConsole(\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $e)
* @method static \Illuminate\Support\Testing\Fakes\ExceptionHandlerFake throwOnReport()
* @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
Expand Down

0 comments on commit 09bc55a

Please sign in to comment.