Completed
Push — master ( f239fd...7f9950 )
by Dmitry
03:55
created

Bootstrap   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 10
ccs 0
cts 6
cp 0
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 7 1
1
<?php
2
3
namespace Basis\Jobs\Module;
4
5
use Basis\Runner;
6
use LinkORB\Component\Etcd\Client;
7
8
class Bootstrap
9
{
10
    public function run(Runner $runner, Client $client)
11
    {
12
        $runner->dispatch('tarantool.migrate');
13
14
        $meta = $runner->dispatch('module.meta');
15
        $client->set('/service/guard', $meta);
16
    }
17
}