src/DataDefinition/ModelRelationship/FilterBuilder/FilterBuilderWithChildren.php
public function indexOf($filter)
    {
        foreach ($this->children as $i => $child) {
            if ($child === $filter) {
                return $i;
            }
        }

        return -1;
    }
public function indexOf($filter)
    {
        foreach ($this->children as $i => $child) {
            if ($child === $filter) {
                return $i;
            }
        }

        return -1;
    }
public function indexOf ( $ filter ) { foreach ( $ this -> children as $ i => $ child ) { if ( $ child === $ filter ) { return $ i ; } } return - 1 ; }
Get the position index of a given filter builder in this instance.

@param BaseFilterBuilder $filter The filter builder to search.

@return int
Get the position index of a given filter builder in this instance .