Completed
Push — master ( 34ec74...fc4fa7 )
by Arman
20s queued 16s
created

RawParam   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 22
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getValue() 0 3 1
A __construct() 0 3 1
1
<?php
2
3
/**
4
 * Quantum PHP Framework
5
 *
6
 * An open source software development framework for PHP
7
 *
8
 * @package Quantum
9
 * @author Arman Ag. <[email protected]>
10
 * @copyright Copyright (c) 2018 Softberg LLC (https://softberg.org)
11
 * @link http://quantum.softberg.org/
12
 * @since 2.9.7
13
 */
14
15
namespace Quantum\View;
16
17
/**
18
 * Class RawParam
19
 * @package Quantum\View
20
 */
21
class RawParam
22
{
23
    /**
24
     * @var mixed
25
     */
26
    private $value;
27
28
    /**
29
     * @param mixed $value
30
     */
31
    public function __construct($value)
32
    {
33
        $this->value = $value;
34
    }
35
36
    /**
37
     * Gets the raw value.
38
     * @return mixed
39
     */
40
    public function getValue()
41
    {
42
        return $this->value;
43
    }
44
}
45