Skip to content

Commit c7552df

Browse files
AndyIRCEvanLovely
authored andcommitted
Issue #2: Listen later in the event cycle to be able to fake pattern-specific data (#7)
1 parent 2e64b75 commit c7552df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatternLab/Faker/PatternLabListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class PatternLabListener extends \PatternLab\Listener {
2828
public function __construct() {
2929

3030
// add listener
31-
$this->addListener("patternData.dataLoaded","fakeContent");
31+
$this->addListener("patternData.lineageHelperEnd","fakeContent");
3232

3333
// set-up locale
3434
$locale = Config::getOption("plugins.faker.locale");

0 commit comments

Comments
 (0)