Core/Executor/MailExecutor.php 1 location
|
@@ 108-118 (lines=11) @@
|
| 105 |
|
/** |
| 106 |
|
* @deprecated should be moved into the reference resolver classes |
| 107 |
|
*/ |
| 108 |
|
protected function resolveReferencesRecursively($match) |
| 109 |
|
{ |
| 110 |
|
if (is_array($match)) { |
| 111 |
|
foreach ($match as $condition => $values) { |
| 112 |
|
$match[$condition] = $this->resolveReferencesRecursively($values); |
| 113 |
|
} |
| 114 |
|
return $match; |
| 115 |
|
} else { |
| 116 |
|
return $this->referenceResolver->resolveReference($match); |
| 117 |
|
} |
| 118 |
|
} |
| 119 |
|
|
| 120 |
|
/** |
| 121 |
|
* Replaces any references inside a string |
Core/Executor/RepositoryExecutor.php 1 location
|
@@ 165-175 (lines=11) @@
|
| 162 |
|
* Courtesy code to avoid reimplementing it in every subclass |
| 163 |
|
* @deprecated will be moved into the reference resolver classes |
| 164 |
|
*/ |
| 165 |
|
protected function resolveReferencesRecursively($match) |
| 166 |
|
{ |
| 167 |
|
if (is_array($match)) { |
| 168 |
|
foreach ($match as $condition => $values) { |
| 169 |
|
$match[$condition] = $this->resolveReferencesRecursively($values); |
| 170 |
|
} |
| 171 |
|
return $match; |
| 172 |
|
} else { |
| 173 |
|
return $this->referenceResolver->resolveReference($match); |
| 174 |
|
} |
| 175 |
|
} |
| 176 |
|
} |
| 177 |
|
|