src/Block/Group.php
public function broadcastFocus()
    {
        foreach ($this->_children as $child) {
            if ($child->type() !== 'normal') {
                continue;
            }
            $child->type('focus');
            if ($child instanceof Group) {
                $child->broadcastFocus();
            }
        }
    }
public function broadcastFocus()
    {
        foreach ($this->_children as $child) {
            if ($child->type() !== 'normal') {
                continue;
            }
            $child->type('focus');
            if ($child instanceof Group) {
                $child->broadcastFocus();
            }
        }
    }
public function broadcastFocus ( ) { foreach ( $ this -> _children as $ child ) { if ( $ child -> type ( ) !== 'normal' ) { continue ; } $ child -> type ( 'focus' ) ; if ( $ child instanceof Group ) { $ child -> broadcastFocus ( ) ; } } }
Apply focus downward to the leaf.
Apply focus downward to the leaf .