generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from dissto/add-todo-for-column-state
Add todo test for `has state`
- Loading branch information
Showing
4 changed files
with
26 additions
and
0 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
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
21 changes: 21 additions & 0 deletions
21
src/Stubs/Resource/Page/RelationManager/Table/Column/State.php
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,21 @@ | ||
<?php | ||
|
||
namespace CodeWithDennis\FilamentTests\Stubs\Resource\Page\RelationManager\Table\Column; | ||
|
||
use Closure; | ||
use CodeWithDennis\FilamentTests\Stubs\Base; | ||
|
||
class State extends Base | ||
{ | ||
public Closure|bool $isTodo = true; | ||
|
||
public function getDescription(): string | ||
{ | ||
return 'has state'; | ||
} | ||
|
||
public function getShouldGenerate(): bool | ||
{ | ||
return false; // TODO: implement | ||
} | ||
} |
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,3 @@ | ||
it({{ DESCRIPTION }}, function () { | ||
// | ||
}){{ RESOLVED_GROUP_METHOD }}->todo(); |