Processor   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 23
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCollection() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Modelarium;
4
5
use GraphQL\Type\Definition\ObjectType;
6
use GraphQL\Type\Definition\Type;
7
use GraphQL\Utils\AST;
8
use Modelarium\Laravel\Targets\MigrationGenerator;
9
10
abstract class Processor
11
{
12
    /**
13
     *
14
     * @var GeneratedCollection
15
     */
16
    protected $collection = null;
17
18
    /**
19
     *
20
     * @param string $data
21
     * @return GeneratedCollection
22
     */
23
    abstract public function processString(string $data): GeneratedCollection;
24
    
25
    /**
26
     * Get the value of generated data
27
     *
28
     * @return GeneratedCollection
29
     */
30
    public function getCollection()
31
    {
32
        return $this->collection;
33
    }
34
}
35