Skip to content

v0.3.0

Compare
Choose a tag to compare
@lorisleiva lorisleiva released this 01 Mar 13:18
1cf1b60

⬆️ Add support for Laravel 7 (#35)
🐎 No longer instantiate every listener to check if it's an action (#33)
✨ Add the following new static helpers to run actions (#36)

MyAction::make([/* ... */])

// Equivalent to:
new MyAction([/* ... */]);
MyAction::run([/* ... */])

// Equivalent to:
(new MyAction)->run([/* ... */]);

⚠️ This is a potential breaking change if your application is overriding the run method. If that's the case make sure to override the handleRun method instead.

// Previous signature to override.
public function run(array $attributes = [])

// New signature to override.
protected function handleRun(array $attributes = [])