@@ 45-52 (lines=8) @@ | ||
42 | { |
|
43 | $io = new SymfonyStyle($input, $output); |
|
44 | ||
45 | if (null !== $group = $input->getOption('group')) { |
|
46 | $fixtures = $this->loader->getFixtures([$group]); |
|
47 | ||
48 | $io->title("Fixtures in group \"$group\"."); |
|
49 | $io->listing($this->getListing($fixtures)); |
|
50 | ||
51 | return 0; |
|
52 | } |
|
53 | ||
54 | if (false !== $input->getOption('grouped')) { |
|
55 | $io->title('Repartition of fixtures by groups.'); |
|
@@ 54-65 (lines=12) @@ | ||
51 | return 0; |
|
52 | } |
|
53 | ||
54 | if (false !== $input->getOption('grouped')) { |
|
55 | $io->title('Repartition of fixtures by groups.'); |
|
56 | ||
57 | $fixturesByGroup = $this->loader->getFixturesByGroups(); |
|
58 | ||
59 | foreach ($fixturesByGroup as $group => $fixtures) { |
|
60 | $io->section($group); |
|
61 | $io->listing($this->getListing($fixtures)); |
|
62 | } |
|
63 | ||
64 | return 0; |
|
65 | } |
|
66 | ||
67 | $io->title('All fixtures'); |
|
68 |