mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 10:06:28 +03:00
[zenstruc/foundry] Add 2.6 config & one story as fixture (#1415)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Story;
|
||||
|
||||
use Zenstruck\Foundry\Attribute\AsFixture;
|
||||
use Zenstruck\Foundry\Story;
|
||||
|
||||
#[AsFixture(name: 'main')]
|
||||
final class AppStory extends Story
|
||||
{
|
||||
public function build(): void
|
||||
{
|
||||
// SomeFactory::createOne();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user