Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 328 Bytes

NomadicTraits.md

File metadata and controls

13 lines (12 loc) · 328 Bytes

Nomadic Traits

  • Use Case: Reuse common functionality that your migrations tend to use.

Usage

Open up the nomadic.php and add your custom traits

return [
    'traits' => [
        \My\Custom\Trait::class
    ],
];

Now when you create migrations, you should see your stubbed migration using your custom traits.