Name

SPVM::EqualityCheckable - EqualityCheckable Interface

Description

EqualityCheckable interface in SPVM has interface methods to check equality of two objects.

Usage

interface EqualityCheckable;

Interface Methods

required method eq : int ($a : object, $b : object);

An interface method to check equality of two objects.

If $a is equal to $b, returns 1, otherwise returns 0.

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License