CArray::offsetExists()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 2
b 0
f 0
nc 1
nop 1
dl 0
loc 2
rs 10
1
<?php
2
3
/**
4
 * This file is part of the sj-i/php-profiler package.
5
 *
6
 * (c) sji <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace FFI;
13
14
class CInteger extends CData
15
{
16
    public int $cdata;
17
}
18
19
class CPointer extends CData
20
{
21
    public int $cdata;
22
}
23
24
/**
25
 * Class CArray
26
 *
27
 * @template T
28
 * @template-implements \ArrayAccess<int, T>
29
 */
30
class CArray extends CData implements \ArrayAccess, \Countable
31
{
32
33
    public function offsetExists($offset)
34
    {
35
        // TODO: Implement offsetExists() method.
36
    }
37
38
    public function offsetGet($offset)
39
    {
40
        // TODO: Implement offsetGet() method.
41
    }
42
43
    public function offsetSet($offset, $value)
44
    {
45
        // TODO: Implement offsetSet() method.
46
    }
47
48
    public function offsetUnset($offset)
49
    {
50
        // TODO: Implement offsetUnset() method.
51
    }
52
}