Completed
Push — master ( 20d8fe...40dd32 )
by Harald
09:20 queued 04:54
created

Is   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __callStatic() 0 11 2
1
<?php
2
/**
3
  * osCommerce Online Merchant
4
  *
5
  * @copyright (c) 2016 osCommerce; https://www.oscommerce.com
6
  * @license GPL; https://www.oscommerce.com/gpllicense.txt
7
  */
8
9
namespace OSC\OM;
10
11
class Is
12
{
13
    public static function __callStatic($name, $arguments)
14
    {
15
        if (class_exists(__NAMESPACE__ . '\\Is\\' . $name)) {
16
            return (bool)call_user_func_array([
17
                __NAMESPACE__ . '\\Is\\' . $name,
18
                'execute'
19
            ], $arguments);
20
        }
21
22
        return false;
23
    }
24
}
25