@@ -4,6 +4,6 @@ |
||
4 | 4 | |
5 | 5 | interface Criteria |
6 | 6 | { |
7 | - // public function resolveKey(); |
|
8 | - // public function render(); |
|
7 | + // public function resolveKey(); |
|
8 | + // public function render(); |
|
9 | 9 | } |
@@ -4,5 +4,5 @@ |
||
4 | 4 | |
5 | 5 | interface Expression |
6 | 6 | { |
7 | - public function render(); |
|
7 | + public function render(); |
|
8 | 8 | } |
@@ -5,6 +5,6 @@ |
||
5 | 5 | interface Criteria |
6 | 6 | { |
7 | 7 | |
8 | - // public function render(); |
|
9 | - // public function resolveKey(); |
|
8 | + // public function render(); |
|
9 | + // public function resolveKey(); |
|
10 | 10 | } |
@@ -7,36 +7,36 @@ |
||
7 | 7 | abstract class Builder implements Criteria |
8 | 8 | { |
9 | 9 | |
10 | - protected $content; |
|
11 | - |
|
12 | - /** |
|
13 | - * [__construct description] |
|
14 | - * @param mixed $content |
|
15 | - */ |
|
16 | - public function __construct($content) |
|
17 | - { |
|
18 | - $this->content = $content; |
|
19 | - } |
|
20 | - |
|
21 | - /** |
|
22 | - * [resolveKey description] |
|
23 | - * @return string |
|
24 | - */ |
|
25 | - public function resolveKey() |
|
26 | - { |
|
27 | - if (isset($this->key)) { |
|
28 | - return $this->key; |
|
29 | - } |
|
30 | - |
|
31 | - return lcfirst(class_basename(get_class($this))); |
|
32 | - } |
|
33 | - |
|
34 | - /** |
|
35 | - * [getContent description] |
|
36 | - * @return mixed |
|
37 | - */ |
|
38 | - public function getContent() |
|
39 | - { |
|
40 | - return $this->content; |
|
41 | - } |
|
10 | + protected $content; |
|
11 | + |
|
12 | + /** |
|
13 | + * [__construct description] |
|
14 | + * @param mixed $content |
|
15 | + */ |
|
16 | + public function __construct($content) |
|
17 | + { |
|
18 | + $this->content = $content; |
|
19 | + } |
|
20 | + |
|
21 | + /** |
|
22 | + * [resolveKey description] |
|
23 | + * @return string |
|
24 | + */ |
|
25 | + public function resolveKey() |
|
26 | + { |
|
27 | + if (isset($this->key)) { |
|
28 | + return $this->key; |
|
29 | + } |
|
30 | + |
|
31 | + return lcfirst(class_basename(get_class($this))); |
|
32 | + } |
|
33 | + |
|
34 | + /** |
|
35 | + * [getContent description] |
|
36 | + * @return mixed |
|
37 | + */ |
|
38 | + public function getContent() |
|
39 | + { |
|
40 | + return $this->content; |
|
41 | + } |
|
42 | 42 | } |
@@ -5,5 +5,5 @@ |
||
5 | 5 | class Data extends Builder |
6 | 6 | { |
7 | 7 | |
8 | - // |
|
8 | + // |
|
9 | 9 | } |
@@ -7,5 +7,5 @@ |
||
7 | 7 | class DotNotationNotAvailableException extends Exception |
8 | 8 | { |
9 | 9 | |
10 | - // |
|
10 | + // |
|
11 | 11 | } |