@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | $self = $this; |
| 18 | 18 | |
| 19 | - $pimple->offsetSet('config', function ($container) use ($self) { |
|
| 19 | + $pimple->offsetSet('config', function($container) use ($self) { |
|
| 20 | 20 | return $self->createConfig($container); |
| 21 | 21 | }); |
| 22 | 22 | } |
@@ -19,18 +19,18 @@ |
||
| 19 | 19 | { |
| 20 | 20 | $self = $this; |
| 21 | 21 | |
| 22 | - $pimple->offsetSet('job_manager', function ($container) use ($self) { |
|
| 22 | + $pimple->offsetSet('job_manager', function($container) use ($self) { |
|
| 23 | 23 | return $self->createJobManager( |
| 24 | 24 | $container->offsetGet('queue_client'), |
| 25 | 25 | $container->offsetGet('process_factory') |
| 26 | 26 | ); |
| 27 | 27 | }); |
| 28 | 28 | |
| 29 | - $pimple->offsetSet('worker', function ($container) use ($self) { |
|
| 29 | + $pimple->offsetSet('worker', function($container) use ($self) { |
|
| 30 | 30 | return $self->createWorker($container->offsetGet('job_manager')); |
| 31 | 31 | }); |
| 32 | 32 | |
| 33 | - $pimple->extend('commands', function ($commands, $container) use ($self) { |
|
| 33 | + $pimple->extend('commands', function($commands, $container) use ($self) { |
|
| 34 | 34 | $commands[] = $self->createRunJobCommand($container->offsetGet('job_manager')); |
| 35 | 35 | $commands[] = $self->createStartWorkerCommand($container->offsetGet('worker')); |
| 36 | 36 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | { |
| 22 | 22 | $self = $this; |
| 23 | 23 | |
| 24 | - $pimple->offsetSet('logger', function ($container) use ($self) { |
|
| 24 | + $pimple->offsetSet('logger', function($container) use ($self) { |
|
| 25 | 25 | return $self->createLogger($container['config']); |
| 26 | 26 | }); |
| 27 | 27 | } |
@@ -17,11 +17,11 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $self = $this; |
| 19 | 19 | |
| 20 | - $pimple->offsetSet('scheduler', function ($container) use ($self) { |
|
| 20 | + $pimple->offsetSet('scheduler', function($container) use ($self) { |
|
| 21 | 21 | return $self->createScheduler(); |
| 22 | 22 | }); |
| 23 | 23 | |
| 24 | - $pimple->extend('commands', function ($commands, $container) use ($self) { |
|
| 24 | + $pimple->extend('commands', function($commands, $container) use ($self) { |
|
| 25 | 25 | $commands[] = $self->createRunSchedulerCommand($container->offsetGet('scheduler')); |
| 26 | 26 | |
| 27 | 27 | return $commands; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $self = $this; |
| 22 | 22 | |
| 23 | - $pimple->offsetSet('queue_client', function ($container) use ($self) { |
|
| 23 | + $pimple->offsetSet('queue_client', function($container) use ($self) { |
|
| 24 | 24 | return $self->createClient($container['config']); |
| 25 | 25 | }); |
| 26 | 26 | } |
@@ -25,15 +25,15 @@ |
||
| 25 | 25 | { |
| 26 | 26 | $self = $this; |
| 27 | 27 | |
| 28 | - $pimple->offsetSet('request', function ($container) use ($self) { |
|
| 28 | + $pimple->offsetSet('request', function($container) use ($self) { |
|
| 29 | 29 | return $self->createServerRequest(); |
| 30 | 30 | }); |
| 31 | 31 | |
| 32 | - $pimple->offsetSet('router', function ($container) use ($self) { |
|
| 32 | + $pimple->offsetSet('router', function($container) use ($self) { |
|
| 33 | 33 | return $self->createRouter(); |
| 34 | 34 | }); |
| 35 | 35 | |
| 36 | - $pimple->offsetSet('emitter', function ($container) use ($self) { |
|
| 36 | + $pimple->offsetSet('emitter', function($container) use ($self) { |
|
| 37 | 37 | return $self->createEmitter(); |
| 38 | 38 | }); |
| 39 | 39 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $self = $this; |
| 22 | 22 | |
| 23 | - $pimple->offsetSet('queue_client', function ($container) use ($self) { |
|
| 23 | + $pimple->offsetSet('queue_client', function($container) use ($self) { |
|
| 24 | 24 | return $self->createClient($container['config']); |
| 25 | 25 | }); |
| 26 | 26 | } |
@@ -15,11 +15,11 @@ |
||
| 15 | 15 | { |
| 16 | 16 | $self = $this; |
| 17 | 17 | |
| 18 | - $pimple->offsetSet('feed_reader_manager', function ($container) use ($self) { |
|
| 18 | + $pimple->offsetSet('feed_reader_manager', function($container) use ($self) { |
|
| 19 | 19 | return $self->createFeedReaderManager(); |
| 20 | 20 | }); |
| 21 | 21 | |
| 22 | - $pimple->extend('commands', function ($commands, $container) use ($self) { |
|
| 22 | + $pimple->extend('commands', function($commands, $container) use ($self) { |
|
| 23 | 23 | $commands[] = $self->createRunFeedReaderCommand($container->offsetGet('feed_reader_manager')); |
| 24 | 24 | |
| 25 | 25 | return $commands; |