Skip to content

php-i/comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP I: Comparison

Introduction

The Comparable interface defines the getComparisonTo method, which determines the sort order of instances of the implementing type.

The Equalable interface defines the isEqualTo & isNotEqualTo methods, which determines the equality of instances of the implementing type.

Motivation

PHP doesn't have built-in interfaces for object comparison. Inspired by:

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Contributors

@antonkomarev
Anton Komarev

PHP I: Comparison contributors list

License

About

PHP interfaces for object comparison.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages