@@ -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 | } |
@@ -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 | } |
@@ -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 | } |
@@ -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; |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | { |
| 34 | 34 | $self = $this; |
| 35 | 35 | |
| 36 | - $container->offsetSet('serializer', function () use ($self) { |
|
| 36 | + $container->offsetSet('serializer', function() use ($self) { |
|
| 37 | 37 | return new Serializer( |
| 38 | 38 | $self->createSymfonySerializer() |
| 39 | 39 | ); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $self = $this; |
| 22 | 22 | |
| 23 | - $pimple->offsetSet('queue_client', function (Container $container) use ($self) { |
|
| 23 | + $pimple->offsetSet('queue_client', function(Container $container) use ($self) { |
|
| 24 | 24 | return $self->createClient( |
| 25 | 25 | $container->offsetGet('config'), |
| 26 | 26 | $container->offsetGet('message_mapper') |
@@ -17,11 +17,11 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $self = $this; |
| 19 | 19 | |
| 20 | - $pimple->offsetSet('message_factory', function () use ($self) { |
|
| 20 | + $pimple->offsetSet('message_factory', function() use ($self) { |
|
| 21 | 21 | return $self->createMessageFactory(); |
| 22 | 22 | }); |
| 23 | 23 | |
| 24 | - $pimple->offsetSet('message_mapper', function (Container $container) use ($self) { |
|
| 24 | + $pimple->offsetSet('message_mapper', function(Container $container) use ($self) { |
|
| 25 | 25 | return $self->createMessageMapper( |
| 26 | 26 | $container->offsetGet('serializer') |
| 27 | 27 | ); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $self = $this; |
| 22 | 22 | |
| 23 | - $pimple->offsetSet('queue_client', function (Container $container) use ($self) { |
|
| 23 | + $pimple->offsetSet('queue_client', function(Container $container) use ($self) { |
|
| 24 | 24 | return $self->createClient( |
| 25 | 25 | $container->offsetGet('config'), |
| 26 | 26 | $container->offsetGet('message_mapper') |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | 'root_dir' => $this->rootDir, |
| 70 | 70 | 'app_dir' => $this->appDir, |
| 71 | 71 | 'environment' => $this->environment, |
| 72 | - 'commands' => function () { |
|
| 72 | + 'commands' => function() { |
|
| 73 | 73 | return []; |
| 74 | 74 | } |
| 75 | 75 | ]); |