PHP Classes

File: src/Traits/BinaryFlags.php

Recommend this page to a friend!
  Packages of Reinder Reinders   PHP Binary Flags   src/Traits/BinaryFlags.php  
File: src/Traits/BinaryFlags.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Binary Flags
Manage a group of boolean flags using integers
Author: By
Last change: Prepare v2.1.0 release (#15)

* Update testing tools

* Update workflow for parallel tests

* Add named enum flags and split tests

* Add enum mask conversion guide

* Document enum conversion example

* Run pint

* Add phpstan templates for enum flags and mask typing

* Add additional coverage tests for enum and mask edge cases

* Fix docblock and reducer order

* Fix enum flag docblock and reducer

* Correct flag traits docblocks
fix php8.4 deprecation (#13)

* fix php8.4 deprecation

* fix php8.4 deprecation and ensure Traits\BinaryFlags::getAllFlags() returns an array with integer keys
Date: 1 month ago
Size: 235 bytes

You need to be a registered user and login to get this file.

1,618,116 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: