src/JumpGate/Menu/Container.php
private function makeParentActive($parent)
    {
        if (! is_null($parent)
            && method_exists($parent, 'activeParentage')
            && $parent->activeParentage()
        ) {
            $parent->setActive(true);
        }
    }
private function makeParentActive($parent)
    {
        if (! is_null($parent)
            && method_exists($parent, 'activeParentage')
            && $parent->activeParentage()
        ) {
            $parent->setActive(true);
        }
    }
private function makeParentActive ( $ parent ) { if ( ! is_null ( $ parent ) && method_exists ( $ parent , 'activeParentage' ) && $ parent -> activeParentage ( ) ) { $ parent -> setActive ( true ) ; } }
Set the parent item as active if able to do so.
Set the parent item as active if able to do so .