Questions tagged [alice-fixtures]
35 questions
0
votes
1 answer
Alice bundle create custom faker
I use alice-bundle and have some fixtures
AppBundle\Entity\Admin:
admin{1..3}:
username: admin
firstName:
lastName:
password: username)>
In old version I…

shuba.ivan
- 3,824
- 8
- 49
- 121
0
votes
1 answer
Using alice fixtures function to calculate values
I'm using alice fixtures https://github.com/nelmio/alice and I'm curious whether it's possible to for example multiply . Let's have this code:
entity{1..5}:
value: * 100
You get the idea. It would create 5 entities first…

simPod
- 11,498
- 17
- 86
- 139
0
votes
1 answer
AliceBundle with multiple entity managers?
Anyone know if AliceBundle (https://github.com/hautelook/AliceBundle) supports multiple entity managers or my em mapping is somehow screwed up. I have a bundle (BundleA) that has seven entity objects but have only configured one class, EntityA, to…

h00ligan
- 1,471
- 9
- 17
0
votes
1 answer
Symfony Alice Bundle
Hi I'm using Alice Bundle in my Symfony2 project.
I would like to have an auto increment for my position property.
But I don't find the right syntax.
FM\AppBundle\Entity\Faq\Question:
FaqQuestion_{1..100}:
headline:
…

Kevin
- 4,823
- 6
- 36
- 70
0
votes
1 answer
Fixtures Alice Symfony
I use hautelook/alice-bundleand I need load skills for my developers I write SkillsLoader.php:
class LoadSkillssData extends AbstractFixture implements OrderedFixtureInterface
{
public function load(ObjectManager $manager)
{
$all_skills =
…

shuba.ivan
- 3,824
- 8
- 49
- 121