Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 2652846

Browse files
committed
chore: add ability to publish factories for client-side mocking
1 parent 04348d7 commit 2652846

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/MagentoServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ private function registerPublishing()
5555
$this->publishes([
5656
__DIR__.'/../config/magento.php' => config_path('magento.php'),
5757
], 'magento-config');
58+
59+
$this->publishes([
60+
__DIR__.'/Database/Factories' => database_path('factories'),
61+
], 'magento-factories');
5862
}
5963
}
6064

0 commit comments

Comments
 (0)