AbstractCoreProvider::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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