Completed
Push — master ( ee35bc...49b999 )
by Akihito
02:30
created

Pcntl::wifexited()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Ackintosh\Snidel;
3
4
class Pcntl
5
{
6
    /**
7
     * @see pcntl_fork
8
     */
9
    public function fork()
10
    {
11
        return pcntl_fork();
12
    }
13
14
    /**
15
     * @see pcntl_signal
16
     */
17
    public function signal($signo, $handler, $restart_syscall = true)
18
    {
19
        return pcntl_signal($signo, $handler, $restart_syscall);
20
    }
21
22
    /**
23
     * @see pcntl_waitpid
24
     */
25
    public function waitpid($pid, &$status, $options = 0)
26
    {
27
        return pcntl_waitpid($pid, $status, $options);
28
    }
29
}
30