src/Bag.php
public function findLast(callable $predicate, $fromIndex = null)
    {
        $index = $this->findLastKey($predicate, $fromIndex);

        return $index !== null ? $this->items[$index] : null;
    }
public function findLast(callable $predicate, $fromIndex = null)
    {
        $index = $this->findLastKey($predicate, $fromIndex);

        return $index !== null ? $this->items[$index] : null;
    }
Returns the last item that matches the `$predicate` or null.

@param callable $predicate Function is passed `($value, $key)`
@param int      $fromIndex The starting index to search from.
Can be negative to start from that far from the end of the array.
If index is out of bounds, it will be moved to first/last index.

@return mixed|null