name: NumberComparator class_comment: '# * NumberComparator compiles a simple comparison to an anonymous # * subroutine, which you can call with a value to be tested again. # * # * Now this would be very pointless, if NumberCompare didn''t understand # * magnitudes. # * # * The target value may use magnitudes of kilobytes (k, ki), # * megabytes (m, mi), or gigabytes (g, gi). Those suffixed # * with an i use the appropriate 2**n version in accordance with the # * IEC standard: http://physics.nist.gov/cuu/Units/binary.html # * # * Based on the Perl Number::Compare module. # * # * @author Fabien Potencier PHP port # * @author Richard Clamp Perl version # * @copyright 2004-2005 Fabien Potencier # * @copyright 2002 Richard Clamp # * # * @see http://physics.nist.gov/cuu/Units/binary.html' dependencies: [] properties: [] methods: - name: __construct visibility: public parameters: - name: test comment: '# * NumberComparator compiles a simple comparison to an anonymous # * subroutine, which you can call with a value to be tested again. # * # * Now this would be very pointless, if NumberCompare didn''t understand # * magnitudes. # * # * The target value may use magnitudes of kilobytes (k, ki), # * megabytes (m, mi), or gigabytes (g, gi). Those suffixed # * with an i use the appropriate 2**n version in accordance with the # * IEC standard: http://physics.nist.gov/cuu/Units/binary.html # * # * Based on the Perl Number::Compare module. # * # * @author Fabien Potencier PHP port # * @author Richard Clamp Perl version # * @copyright 2004-2005 Fabien Potencier # * @copyright 2002 Richard Clamp # * # * @see http://physics.nist.gov/cuu/Units/binary.html # */ # class NumberComparator extends Comparator # { # /** # * @param string|null $test A comparison string or null # * # * @throws \InvalidArgumentException If the test is not understood' traits: [] interfaces: []