Skip to content

Commit

Permalink
Fire before callbacks on closure-based scheduling events (#18861)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hoff authored and taylorotwell committed Apr 19, 2017
1 parent f0c72ec commit e403d16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Console/Scheduling/CallbackEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public function run(Container $container)
$this->mutex->create($this);
}

parent::callBeforeCallbacks($container);

try {
$response = $container->call($this->callback, $this->parameters);
} finally {
Expand Down

0 comments on commit e403d16

Please sign in to comment.