Passed
Push — main ( a04a11...ed3749 )
by Dimitri
05:24
created

AbstractProvider::definitions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 5
rs 10
c 1
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of Blitz PHP framework.
5
 *
6
 * (c) 2022 Dimitri Sitchet Tomkeu <[email protected]>
7
 *
8
 * For the full copyright and license information, please view
9
 * the LICENSE file that was distributed with this source code.
10
 */
11
12
namespace BlitzPHP\Container;
13
14
abstract class AbstractProvider
15
{
16
    public function __construct(protected Container $container)
17
    {
18
    }
19
20
    public static function definitions(): array
21
    {
22
        // a implementer par les classes filles
23
24
        return [];
25
    }
26
27
    public function register(): void
28
    {
29
        // à implementer par les classes filles
30
    }
31
}
32