bytes; } if (is_numeric($value)) { return (int) $value; } throw new InvalidArgumentException("The {$key} attribute must be an integer or an instance of ByteUsage."); } }