src/SellerLabs/Nucleus/Data/ArrayList.php
public function append(SemigroupInterface $other)
    {
        if ($other instanceof static) {
            return new static(array_merge($this->value, $other->value));
        }

        $this->throwMismatchedDataTypeException($other);
    }
public function append(SemigroupInterface $other)
    {
        if ($other instanceof static) {
            return new static(array_merge($this->value, $other->value));
        }

        $this->throwMismatchedDataTypeException($other);
    }
public function append ( SemigroupInterface $ other ) { if ( $ other instanceof static ) { return new static ( array_merge ( $ this -> value , $ other -> value ) ) ; } $ this -> throwMismatchedDataTypeException ( $ other ) ; }
Append another semigroup and return the result.

@param SemigroupInterface $other

@return static|SemigroupInterface
@throws CoreException
@throws MismatchedArgumentTypesException
Append another semigroup and return the result .