SinglePool   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * @author Jenner <[email protected]>
4
 * @blog http://www.huyanping.cn
5
 * @license https://opensource.org/licenses/MIT MIT
6
 * @datetime: 2015/11/19 21:13
7
 */
8
9
namespace Jenner\SimpleFork;
10
11
12
/**
13
 * Only one process will be started at the same time
14
 *
15
 * @package Jenner\SimpleFork
16
 */
17
class SinglePool extends FixedPool
18
{
19
    /**
20
     * SinglePool constructor.
21
     */
22
    public function __construct()
23
    {
24
        parent::__construct(1);
25
    }
26
}