infw / range
Range Object for In Framework
0.0.1.6
2017-05-20 12:25 UTC
Requires
- php: ^5.6|^7.0
Requires (Dev)
- henrikbjorn/phpspec-code-coverage: ^3.0
- memio/spec-gen: ^0.6
- phpspec/phpspec: ^3.0
This package is auto-updated.
Last update: 2026-02-18 11:54:38 UTC
README
Range is a value object used as a dependency in various packages at "In Framework".
It can be very useful for different tasks like validations or as part of more complex objects.
Installation:
composer require infw/range
Usage:
<?php use InFw\Range\BaseRange as Range; $min = 25; $max = 1000; $range = new Range($min, $max); $range->getMin(); $range->getMax();