Stud.IP  4.2 Revision
Comparable Interface Reference
Inheritance diagram for Comparable:
Inheritance graph
Collaboration diagram for Comparable:
Collaboration graph

Public Member Functions

 equals ($other)
 

Detailed Description

Interface for comparable objects.

Author
Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL2 or any later version
Since
Stud.IP 4.1

Member Function Documentation

◆ equals()

equals (   $other)

Determines whether an object is equal to another object. Since there are no generics in PHP, the first test for equality should always be the test for the same object type.

Parameters
mixed$otherOther object to test equality against
Returns
bool

Implemented in Container, and Element.


The documentation for this interface was generated from the following file: