public function down(callable $fn)
    {
        $parent = $this->with($this->_with)->getParent();
        while ($parent) {
            $response = call_user_func_array($fn, [$parent]);
            if ($response) {
                return $response;
            }
            $parent = $parent->with($this->_with)->getParent();
        }

        return false;
    }
public function down(callable $fn)
    {
        $parent = $this->with($this->_with)->getParent();
        while ($parent) {
            $response = call_user_func_array($fn, [$parent]);
            if ($response) {
                return $response;
            }
            $parent = $parent->with($this->_with)->getParent();
        }

        return false;
    }
public function down ( callable $ fn ) { $ parent = $ this -> with ( $ this -> _with ) -> getParent ( ) ; while ( $ parent ) { $ response = call_user_func_array ( $ fn , [ $ parent ] ) ; if ( $ response ) { return $ response ; } $ parent = $ parent -> with ( $ this -> _with ) -> getParent ( ) ; } return false ; }
Go down to a given element which is evalutaed trough a callable.

Iterate trough parent elements until the last.

```php
$item = Yii::$app->menu->current->down(function(Item $item) {
if ($item->depth == 1) {
return $item;
}
});
```

@param callable $fn A function which holds the current iterated item.
@return static|boolean If no item has been picked, false is returned.
@since 1.0.9
Go down to a given element which is evalutaed trough a callable .