Completed
Pull Request — master (#38)
by Wachter
23:47
created

TaskBuilderFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A createTaskBuilder() 0 4 1
1
<?php
2
3
namespace Task\TaskBundle\Builder;
4
5
use Task\Builder\TaskBuilderFactoryInterface;
6
use Task\Scheduler\TaskSchedulerInterface;
7
use Task\TaskInterface;
8
9
/**
10
 * TODO add description here
11
 */
12
class TaskBuilderFactory implements TaskBuilderFactoryInterface
13
{
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function createTaskBuilder(TaskInterface $task, TaskSchedulerInterface $taskScheduler)
18
    {
19
        return new TaskBuilder($task, $taskScheduler);
20
    }
21
}
22