riccardonar/php-intrange

Php integer range implementation, usualy used in PgSQL database

1.0.2 2020-06-23 12:44 UTC

This package is auto-updated.

Last update: 2024-10-23 20:01:16 UTC


README

Thanks to Salamek, this is an adapt to https://github.com/Salamek/php-daterange

Php integer range implementation, usualy used in PgSQL database

<?php

$intRange = new riccardonar\IntRange($startInt, $endInt);

$intRange->getStart(); //$startInt
$intRange->getEnd(); //$endInt