MethodCall   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 24
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace EloquentJs\Query;
4
5
class MethodCall
6
{
7
    /**
8
     * @var string
9
     */
10
    public $method;
11
12
    /**
13
     * @var array
14
     */
15
    public $arguments;
16
17
    /**
18
     * Create a new MethodCall instance.
19
     *
20
     * @param string $method
21
     * @param array $arguments
22
     */
23
    public function __construct($method, array $arguments = [])
24
    {
25
        $this->method = $method;
26
        $this->arguments = $arguments;
27
    }
28
}