src/LightSaml/Action/CompositeAction.php 1 location
|
@@ 85-89 (lines=5) @@
|
| 82 |
|
{ |
| 83 |
|
$arr = array(); |
| 84 |
|
foreach ($this->children as $childAction) { |
| 85 |
|
if ($childAction instanceof DebugPrintTreeActionInterface) { |
| 86 |
|
$arr = array_merge($arr, $childAction->debugPrintTree()); |
| 87 |
|
} else { |
| 88 |
|
$arr = array_merge($arr, array(get_class($childAction) => array())); |
| 89 |
|
} |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
$result = array( |
src/LightSaml/Context/AbstractContext.php 1 location
|
@@ 178-182 (lines=5) @@
|
| 175 |
|
if ($this->subContexts) { |
| 176 |
|
$arr = array(); |
| 177 |
|
foreach ($this->subContexts as $name => $subContext) { |
| 178 |
|
if ($subContext instanceof ContextInterface) { |
| 179 |
|
$arr = array_merge($arr, $subContext->debugPrintTree($name)); |
| 180 |
|
} else { |
| 181 |
|
$arr = array_merge($arr, array($name => get_class($subContext))); |
| 182 |
|
} |
| 183 |
|
} |
| 184 |
|
$result[$ownName.'__children'] = $arr; |
| 185 |
|
} |