ManageCore::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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