CHG: bump screenshot batch time, retention (config.ini) CHG: update opcenter:plan link (Nexus) CHG: set_session_context() forces cache dump (apnscpFunctionInterceptor)
25 lines
602 B
PHP
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();
|
|
}
|
|
}
|