Passed
Branch master (f271f4)
by Tarmo
32:34
created

RestResourceIds   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 21
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 2
1
<?php
2
declare(strict_types = 1);
3
/**
4
 * /src/Rest/Traits/RestResourceIds.php
5
 *
6
 * @author  TLe, Tarmo Leppänen <[email protected]>
7
 */
8
namespace App\Rest\Traits;
9
10
/**
11
 * Trait RestResourceIds
12
 *
13
 * @package App\Rest\Traits
14
 * @author  TLe, Tarmo Leppänen <[email protected]>
15
 */
16
trait RestResourceIds
17
{
18
    /**
19
     * Before lifecycle method for ids method.
20
     *
21
     * @param array $criteria
22
     * @param array $search
23
     */
24
    public function beforeIds(array &$criteria, array &$search): void
25
    {
26
    }
27
28
    /**
29
     * Before lifecycle method for ids method.
30
     *
31
     * @param array $criteria
32
     * @param array $search
33
     * @param array $ids
34
     */
35
    public function afterIds(array &$criteria, array &$search, array &$ids): void
36
    {
37
    }
38
}
39