generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
c8f5721
commit ce41eeb
Showing
4 changed files
with
58 additions
and
99 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
29 changes: 29 additions & 0 deletions
29
src/Filament/Config/FilamentLayout/FilamentLayoutSection.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,29 @@ | ||
<?php | ||
|
||
namespace Kiwilan\Steward\Filament\Config\FilamentLayout; | ||
|
||
use Filament\Forms\Components\Component; | ||
|
||
class FilamentLayoutSection | ||
{ | ||
protected function __construct( | ||
protected array $fields = [], | ||
) { | ||
} | ||
|
||
/** | ||
* @param Component[] $fields | ||
*/ | ||
public static function make(array $fields = []): self | ||
{ | ||
$column = new FilamentLayoutSection(); | ||
$column->fields = $fields; | ||
|
||
return $column; | ||
} | ||
|
||
public function get(): array | ||
{ | ||
return $this->fields; | ||
} | ||
} |
31 changes: 0 additions & 31 deletions
31
src/Filament/Config/FilamentLayout/FilamentLayoutSettings.php
This file was deleted.
Oops, something went wrong.