Total Complexity | 3 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | class CustomerQuery { |
||
24 | /** |
||
25 | * Construct customer query. |
||
26 | * |
||
27 | * @param array $args Query arguments. |
||
28 | */ |
||
29 | public function __construct( $args = array() ) { |
||
30 | $this->args = \wp_parse_args( |
||
|
|||
31 | $args, |
||
32 | array( |
||
33 | 'user_id' => null, |
||
34 | 'organization_id' => null, |
||
35 | 'profile_id' => null, |
||
36 | ) |
||
37 | ); |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Get customers. |
||
42 | * |
||
43 | * @return array |
||
44 | */ |
||
45 | public function get_customers() { |
||
69 | } |
||
70 | } |
||
71 |