infw / range
Range Object for In Framework
Installs: 5 910
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
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: 2024-10-18 09:11:20 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();