AggregateFormatterAware   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setAggregateFormatter() 0 4 1
1
<?php
2
namespace Workana\AsyncJobs\Formatter;
3
4
abstract class AggregateFormatterAware implements FormatterInterface
5
{
6
    /**
7
     * @var AggregateFormatter
8
     */
9
    protected $aggregate;
10
11
    /**
12
     * @param AggregateFormatter $aggregate
13
     */
14
    public function setAggregateFormatter(AggregateFormatter $aggregate)
15
    {
16
        $this->aggregate = $aggregate;
17
    }
18
}