Closed hirasso closed 11 months ago
Nice idea, thx @hirasso check out the dev branch. Will be merged next month.
I used rockmigrations()
instead of rm()
to make it more verbose and avoid naming conflicts.
@BernhardBaumrock woaaa that was fast! Looking forward! :)
Hi there! Right now, RockMigrations needs to be referenced like this everywhere it's being used:
How about providing a little helper function with the module, similar to ProcessWire's functions API? That would make code completion feel much cleaner IMO. This little snippet in the module would be enough:
Than we could save us the additional like
$rm = $this->wire->modules->get('RockMigrations');
throughout our code bases by using the function directly: