generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
148 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
146 changes: 146 additions & 0 deletions
146
tests/__snapshots__/IdeHelperOutputTest__it_can_render_the_output_so_it_matches_the___1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
<?php | ||
|
||
namespace Wulfheart\LaravelActionsIdeHelper\Tests\stubs; | ||
|
||
/** | ||
* @method static string run() | ||
*/ | ||
class BaseAction | ||
{ | ||
} | ||
/** | ||
*/ | ||
class EmptyAction | ||
{ | ||
} | ||
/** | ||
*/ | ||
class NewAction | ||
{ | ||
} | ||
/** | ||
* @method static \Lorisleiva\Actions\Decorators\JobDecorator|\Lorisleiva\Actions\Decorators\UniqueJobDecorator makeJob(mixed $someArguments) | ||
* @method static \Lorisleiva\Actions\Decorators\UniqueJobDecorator makeUniqueJob(mixed $someArguments) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch dispatch(mixed $someArguments) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchIf(bool $boolean, mixed $someArguments) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchUnless(bool $boolean, mixed $someArguments) | ||
* @method static void dispatchSync(mixed $someArguments) | ||
* @method static void dispatchNow(mixed $someArguments) | ||
* @method static void dispatchAfterResponse(mixed $someArguments) | ||
* @method static mixed run(mixed $someArguments) | ||
*/ | ||
class TestAction | ||
{ | ||
} | ||
/** | ||
* @method static \Lorisleiva\Actions\Decorators\JobDecorator|\Lorisleiva\Actions\Decorators\UniqueJobDecorator makeJob(string $string, float|int $number) | ||
* @method static \Lorisleiva\Actions\Decorators\UniqueJobDecorator makeUniqueJob(string $string, float|int $number) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch dispatch(string $string, float|int $number) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchIf(bool $boolean, string $string, float|int $number) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchUnless(bool $boolean, string $string, float|int $number) | ||
* @method static void dispatchSync(string $string, float|int $number) | ||
* @method static void dispatchNow(string $string, float|int $number) | ||
* @method static void dispatchAfterResponse(string $string, float|int $number) | ||
* @method static int|string run(string $string, float|int $number) | ||
*/ | ||
class UnionTypeAction | ||
{ | ||
} | ||
/** | ||
* @method static \Lorisleiva\Actions\Decorators\JobDecorator|\Lorisleiva\Actions\Decorators\UniqueJobDecorator makeJob(int $i) | ||
* @method static \Lorisleiva\Actions\Decorators\UniqueJobDecorator makeUniqueJob(int $i) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch dispatch(int $i) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchIf(bool $boolean, int $i) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchUnless(bool $boolean, int $i) | ||
* @method static void dispatchSync(int $i) | ||
* @method static void dispatchNow(int $i) | ||
* @method static void dispatchAfterResponse(int $i) | ||
* @method static void run(int $i) | ||
*/ | ||
class VoidAction | ||
{ | ||
} | ||
/** | ||
* @method static \Lorisleiva\Actions\Decorators\JobDecorator|\Lorisleiva\Actions\Decorators\UniqueJobDecorator makeJob() | ||
* @method static \Lorisleiva\Actions\Decorators\UniqueJobDecorator makeUniqueJob() | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch dispatch() | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchIf(bool $boolean) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchUnless(bool $boolean) | ||
* @method static void dispatchSync() | ||
* @method static void dispatchNow() | ||
* @method static void dispatchAfterResponse() | ||
* @method static mixed run() | ||
*/ | ||
class VoidActionWithNoReturnType | ||
{ | ||
} | ||
namespace Wulfheart\LaravelActionsIdeHelper\Tests\stubs\Object; | ||
|
||
/** | ||
* @method static \Lorisleiva\Actions\Decorators\JobDecorator|\Lorisleiva\Actions\Decorators\UniqueJobDecorator makeJob(string $string, float|int $number) | ||
* @method static \Lorisleiva\Actions\Decorators\UniqueJobDecorator makeUniqueJob(string $string, float|int $number) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch dispatch(string $string, float|int $number) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchIf(bool $boolean, string $string, float|int $number) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchUnless(bool $boolean, string $string, float|int $number) | ||
* @method static void dispatchSync(string $string, float|int $number) | ||
* @method static void dispatchNow(string $string, float|int $number) | ||
* @method static void dispatchAfterResponse(string $string, float|int $number) | ||
* @method static int|string run(string $string, float|int $number) | ||
*/ | ||
class ObjectAction | ||
{ | ||
} | ||
namespace Wulfheart\LaravelActionsIdeHelper\Tests\stubs\Jobs; | ||
|
||
/** | ||
* @method static \Lorisleiva\Actions\Decorators\JobDecorator|\Lorisleiva\Actions\Decorators\UniqueJobDecorator makeJob(int $i) | ||
* @method static \Lorisleiva\Actions\Decorators\UniqueJobDecorator makeUniqueJob(int $i) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch dispatch(int $i) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchIf(bool $boolean, int $i) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchUnless(bool $boolean, int $i) | ||
* @method static void dispatchSync(int $i) | ||
* @method static void dispatchNow(int $i) | ||
* @method static void dispatchAfterResponse(int $i) | ||
*/ | ||
class WithDecoratorAction | ||
{ | ||
} | ||
/** | ||
* @method static \Lorisleiva\Actions\Decorators\JobDecorator|\Lorisleiva\Actions\Decorators\UniqueJobDecorator makeJob() | ||
* @method static \Lorisleiva\Actions\Decorators\UniqueJobDecorator makeUniqueJob() | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch dispatch() | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchIf(bool $boolean) | ||
* @method static \Illuminate\Foundation\Bus\PendingDispatch|\Illuminate\Support\Fluent dispatchUnless(bool $boolean) | ||
* @method static void dispatchSync() | ||
* @method static void dispatchNow() | ||
* @method static void dispatchAfterResponse() | ||
*/ | ||
class WithoutDecoratorAction | ||
{ | ||
} | ||
namespace Lorisleiva\Actions\Concerns; | ||
|
||
/** | ||
* @method void asController() | ||
*/ | ||
trait AsController | ||
{ | ||
} | ||
/** | ||
* @method void asListener() | ||
*/ | ||
trait AsListener | ||
{ | ||
} | ||
/** | ||
* @method void asJob() | ||
*/ | ||
trait AsJob | ||
{ | ||
} | ||
/** | ||
* @method void asCommand(\Illuminate\Console\Command $command) | ||
*/ | ||
trait AsCommand | ||
{ | ||
} |