Lines 100.00% 2 / 2
Methods 100.00% 2 / 2
Classes 100.00% 1 / 1
Name Lines Methods CRAP
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
 __toString 100.00% 1 / 1 100.00% 1 / 1 1
18class Expression implements ExpressionInterface
19{
20    /**
21     * @var     string
22     */
23    protected $expression;
24
25    /**
26     * Pass in the expression you want exempted.
27     *
28     * @param   string  $exp
29     */
30    public function __construct($exp)
31    {
32        $this->expression = $exp;
33    }
34
35    /**
36     * Returns this expression as a string to make concatenation easier.
37     *
38     * @return  string
39     */
40    public function __toString()
41    {
42        return $this->expression;
43    }
44}