Passed
Push — master ( e04bc8...d279ac )
by Anton
02:48
created

JobRegistry   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 2
eloc 1
c 1
b 1
f 0
dl 0
loc 9
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getHandler() 0 2 1
A getSerializer() 0 2 1
1
<?php
2
3
/**
4
 * Spiral Framework.
5
 *
6
 * @license   MIT
7
 * @author    Anton Titov (Wolfy-J)
8
 */
9
declare(strict_types=1);
10
11
namespace Spiral\Jobs;
12
13
class JobRegistry implements HandlerRegistryInterface, SerializerRegistryInterface
14
{
15
    public function getHandler(string $jobType): HandlerInterface
16
    {
17
        // TODO: Implement getHandler() method.
18
    }
19
20
    public function getSerializer(string $jobType): SerializerInterface
21
    {
22
        // TODO: Implement getSerializer() method.
23
    }
24
}
25