assoconnect / absolute-percent-value-bundle
Installs: 17 483
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 7
Forks: 2
Open Issues: 0
pkg:composer/assoconnect/absolute-percent-value-bundle
Requires
- php: ^8.2
- beberlei/assert: ^3.2.7
- symfony/framework-bundle: ^5.0|^6.0|^7.0
- symfony/serializer: ^5.1.8|^6.0
Requires (Dev)
- assoconnect/php-quality-config: ^1.11
- phpunit/phpunit: ^9.2
- rector/rector: ^1.2
- squizlabs/php_codesniffer: ^3
This package is auto-updated.
Last update: 2025-11-10 13:12:54 UTC
README
Installation
composer require assoconnect/absolute-percent-value-bundle
To know
An AbsolutePercentValue can be used to represent either an absolute value or a percent.
It has two attributes:
- A type which can be either 'PERCENT' or 'ABSOLUTE'
- A value which is a string numeric positive
If the type of the AbsolutePercentValue is 'Percent', then its value must be less than 10000 (100%).