Created
December 19, 2017 18:21
-
-
Save Gimcrack/f51c58491f6facef8072ded199f383a1 to your computer and use it in GitHub Desktop.
IDE Macro Helper for Laravel
This file contains hidden or 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
<?php | |
namespace { | |
exit("This file is only for ide indexing"); | |
} | |
namespace Illuminate\Support { | |
use Tests\TestCase; | |
/** | |
* Class Collection | |
* | |
* @method static TestCase assertContains(mixed $value) | |
* @method static TestCase assertEmpty() | |
* @method static TestCase assertNotEmpty() | |
* @method static TestCase assertCount(int $count) | |
* @method static TestCase assertMinCount(int $count) | |
* | |
*/ | |
class Collection {} | |
} | |
namespace Illuminate\Foundation\Testing { | |
use Illuminate\Support\Collection; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Http\Resources\Json\Resource; | |
use Illuminate\Http\Resources\Json\ResourceCollection; | |
/** | |
* Class TestResponse | |
* | |
* @method static TestResponse assertJsonMissingModel(Model $model) | |
* @method static TestResponse assertJsonModel(Model $model) | |
* @method static TestResponse assertJsonModelCollection(Collection $models) | |
* @method static TestResponse assertJsonResource(Resource $resource) | |
* @method static TestResponse assertJsonResourceCollection(ResourceCollection $collection) | |
* | |
*/ | |
class TestResponse | |
{} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment