src/Charcoal/Factory/GenericResolver.php 1 location
|
@@ 97-101 (lines=5) @@
|
| 94 |
|
}; |
| 95 |
|
|
| 96 |
|
$capitals = $this->capitals; |
| 97 |
|
foreach ($capitals as $cap) { |
| 98 |
|
$expl = explode($cap, $type); |
| 99 |
|
array_walk($expl, $capitalizeNext); |
| 100 |
|
$type = implode($cap, $expl); |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
$replacements = $this->replacements; |
| 104 |
|
foreach ($replacements as $rep => $target) { |
src/Charcoal/Factory/ResolverFactory.php 1 location
|
@@ 174-178 (lines=5) @@
|
| 171 |
|
}; |
| 172 |
|
|
| 173 |
|
$capitals = $this->resolverCapitals(); |
| 174 |
|
foreach ($capitals as $cap) { |
| 175 |
|
$expl = explode($cap, $type); |
| 176 |
|
array_walk($expl, $capitalize_next); |
| 177 |
|
$type = implode($cap, $expl); |
| 178 |
|
} |
| 179 |
|
|
| 180 |
|
$replacements = $this->resolverReplacements(); |
| 181 |
|
foreach ($replacements as $rep => $target) { |