protected function doesContainsObjects(array $objects) : bool
    {
        $objectsLookup = $this->asArray();

        foreach ($objects as $object) {
            if (!in_array($object, $objectsLookup, false)) {
                return false;
            }
        }

        return true;
    }
protected function doesContainsObjects(array $objects) : bool
    {
        $objectsLookup = $this->asArray();

        foreach ($objects as $object) {
            if (!in_array($object, $objectsLookup, false)) {
                return false;
            }
        }

        return true;
    }
protected function doesContainsObjects ( array $ objects ) : bool { $ objectsLookup = $ this -> asArray ( ) ; foreach ( $ objects as $ object ) { if ( ! in_array ( $ object , $ objectsLookup , false ) ) { return false ; } } return true ; }
Performs a value-wise comparison to see if objects
are equal.

@param IValueObject[] $objects

@return bool
Performs a value - wise comparison to see if objects are equal .