factory(function ($c) { return new CommentEventJob($c); }); $container['subtaskEventJob'] = $container->factory(function ($c) { return new SubtaskEventJob($c); }); $container['taskEventJob'] = $container->factory(function ($c) { return new TaskEventJob($c); }); $container['taskFileEventJob'] = $container->factory(function ($c) { return new TaskFileEventJob($c); }); $container['projectFileEventJob'] = $container->factory(function ($c) { return new ProjectFileEventJob($c); }); $container['notificationJob'] = $container->factory(function ($c) { return new NotificationJob($c); }); return $container; } }