src/Collection/IdentityWrapper.php
public function forAll(Closure $p)
    {
        foreach ($this->collection as $element) {
            $key = $this->getKey($element);
            if (!$p($key, $element)) {
                return false;
            }
        }
        
        return true;
    }
public function forAll(Closure $p)
    {
        foreach ($this->collection as $element) {
            $key = $this->getKey($element);
            if (!$p($key, $element)) {
                return false;
            }
        }
        
        return true;
    }
{@inheritDoc}