AbstractCoreProvider   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 5
dl 0
loc 25
rs 10
c 0
b 0
f 0

3 Methods

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