Completed
Push — master ( be02a5...a1ec95 )
by Nick
22:04 queued 02:39
created

MethodCall::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
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
}