Passed
Branch develop (21f7ca)
by BENARD
04:27
created

AbstractTablePlayerProvider   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 26
rs 10
c 1
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getData() 0 3 1
A getNbPostDay() 0 3 1
1
<?php
2
3
namespace VideoGamesRecords\DwhBundle\DataProvider\Core;
4
5
use DateTime;
6
use Doctrine\ORM\EntityManagerInterface;
7
use VideoGamesRecords\DwhBundle\Contracts\DataProvider\CoreProviderInterface;
8
use VideoGamesRecords\DwhBundle\Contracts\DwhInterface;
9
10
class AbstractTablePlayerProvider implements DwhInterface, CoreProviderInterface
11
{
12
    protected EntityManagerInterface $em;
13
14
    public function __construct(EntityManagerInterface $em)
15
    {
16
        $this->em = $em;
17
    }
18
19
    /**
20
     * @return array
21
     */
22
23
    public function getData(): array
24
    {
25
        return array();
26
    }
27
28
    /**
29
     * @param DateTime $date1
30
     * @param DateTime $date2
31
     * @return array
32
     */
33
    public function getNbPostDay(DateTime $date1, DateTime $date2): array
34
    {
35
        return array();
36
    }
37
}
38
39