ManageCore   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 18
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * vipnytt/RobotsTxtParser
4
 *
5
 * @link https://github.com/VIPnytt/RobotsTxtParser
6
 * @license https://github.com/VIPnytt/RobotsTxtParser/blob/master/LICENSE The MIT License (MIT)
7
 */
8
9
namespace vipnytt\RobotsTxtParser\Client\Delay;
10
11
/**
12
 * Class ManageCore
13
 *
14
 * @see https://github.com/VIPnytt/RobotsTxtParser/blob/master/docs/methods/DelayInterface.md for documentation
15
 * @package vipnytt\RobotsTxtParser\Handler\Delay
16
 */
17
abstract class ManageCore implements ManageInterface
18
{
19
    /**
20
     * Database handler
21
     * @var \PDO
22
     */
23
    protected $pdo;
24
25
    /**
26
     * ManageCore constructor.
27
     *
28
     * @param \PDO $pdo
29
     */
30
    public function __construct(\PDO $pdo)
31
    {
32
        $this->pdo = $pdo;
33
    }
34
}
35