Completed
Push — master ( 85bfa4...4f0b15 )
by Lucas
02:06
created

Processor   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 3
c 2
b 0
f 1
lcom 0
cbo 0
dl 0
loc 24
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getConfiguration() 0 4 1
A __toString() 0 4 1
A frenchDateFormatter() 0 3 1
1
<?php
2
3
namespace Kasifi\PdfParserBundle\Processor;
4
5
/**
6
 * Class Processor
7
 * @package Kasifi\PdfParserBundle\Processor
8
 */
9
abstract class Processor
10
{
11
    /**
12
     * @var array
13
     */
14
    protected $configuration;
15
16
    /**
17
     * @return array
18
     */
19
    public function getConfiguration()
20
    {
21
        return $this->configuration;
22
    }
23
24
    public function __toString()
25
    {
26
        return (string)$this->configuration['name'];
27
    }
28
29
    public function frenchDateFormatter($raw)
0 ignored issues
show
Unused Code introduced by
The parameter $raw is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
30
    {
31
    }
32
}
33