If you now keep calling $node->getParent() you will at some point get the RootFolder back. This is a nice termination check and will prevent endless loops if an exit condition is slightly off. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> |
||
|---|---|---|
| .. | ||
| File.php | ||
| Folder.php | ||
| HookConnector.php | ||
| LazyRoot.php | ||
| Node.php | ||
| NonExistingFile.php | ||
| NonExistingFolder.php | ||
| Root.php | ||