Files
apiscp-production/lib/RecursiveObjectIterator.php
hephaestus b1ea5a03ab CHG: convert Blade, use screenshot layout (.htaccess Manager)
CHG: bump screenshot batch time, retention (config.ini)
CHG: update opcenter:plan link (Nexus)
CHG: set_session_context() forces cache dump (apnscpFunctionInterceptor)
2020-06-06 19:06:02 -04:00

25 lines
602 B
PHP

<?php declare(strict_types=1);
/**
* Copyright (C) Apis Networks, Inc - All Rights Reserved.
*
* Unauthorized copying of this file, via any medium, is
* strictly prohibited without consent. Any dissemination of
* material herein is prohibited.
*
* For licensing inquiries email <licensing@apisnetworks.com>
*
* Written by Matt Saladna <matt@apisnetworks.com>, June 2020
*/
class RecursiveObjectIterator extends RecursiveArrayIterator
{
public function hasChildren()
{
return is_array($this->current());
}
public function getChildren()
{
return $this->current()->getIterator();
}
}