@@ 99-103 (lines=5) @@ | ||
96 | if (array_key_exists('self', $mapping) && |
|
97 | is_bool($mapping['self']) && |
|
98 | $mapping['self'] === true) { |
|
99 | if (! method_exists($this, $mapping['setter'])) { |
|
100 | $this->addLogEntry('"'.__CLASS__.'" cannot find mapping "setter" method on object "'.get_class($this).'" named "'.$mapping['setter'].'".', 'error'); |
|
101 | continue; |
|
102 | } |
|
103 | ||
104 | $this->{$mapping['setter']}(config($key)); |
|
105 | } else { |
|
106 | if (! method_exists($this->writer, $mapping['setter'])) { |
|
@@ 106-110 (lines=5) @@ | ||
103 | ||
104 | $this->{$mapping['setter']}(config($key)); |
|
105 | } else { |
|
106 | if (! method_exists($this->writer, $mapping['setter'])) { |
|
107 | $this->addLogEntry('"'.__CLASS__.'" cannot find mapping "setter" method on object "'.get_class($this->writer).'" named "'.$mapping['setter'].'".', 'error'); |
|
108 | continue; |
|
109 | } |
|
110 | ||
111 | $this->writer->{$mapping['setter']}(config($key)); |
|
112 | } |
|
113 | } |