protected function findCrumb($title)
    {
        foreach ($this->crumbs as $key => $crumb) {
            if ($crumb['title'] === $title) {
                return $key;
            }
        }

        return null;
    }
protected function findCrumb($title)
    {
        foreach ($this->crumbs as $key => $crumb) {
            if ($crumb['title'] === $title) {
                return $key;
            }
        }

        return null;
    }
protected function findCrumb ( $ title ) { foreach ( $ this -> crumbs as $ key => $ crumb ) { if ( $ crumb [ 'title' ] === $ title ) { return $ key ; } } return null ; }
Search a crumb in the current stack which title matches the one provided as argument.
If found, the index of the matching crumb will be returned.

@param string $title Title to find.
@return int|null Index of the crumb found, or null if it can not be found.
Search a crumb in the current stack which title matches the one provided as argument . If found the index of the matching crumb will be returned .