Skip to content

Commit

Permalink
feat(Add new methods to Soar facade: macro, mixin, hasMacro, flushMac…
Browse files Browse the repository at this point in the history
…ros, and macroCall.):
  • Loading branch information
guanguans committed Apr 1, 2024
1 parent 923b332 commit 8272ccf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Facades/Soar.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
* @method static \Guanguans\SoarPHP\Soar dump(void ...$args)
* @method static \Guanguans\SoarPHP\Soar setProcessTapper(callable|null $processTapper)
* @method static string run(array|string $withOptions = [], callable|null $callback = null)
* @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()
* @method static mixed macroCall(string $method, array $parameters)
* @method static \Guanguans\LaravelSoar\Soar|\Illuminate\Support\HigherOrderTapProxy tap(callable|null $callback = null)
*
* @see \Guanguans\LaravelSoar\Soar
Expand Down

0 comments on commit 8272ccf

Please sign in to comment.