enums icon indicating copy to clipboard operation
enums copied to clipboard

Filtering

Open suleymanozev opened this issue 3 years ago • 3 comments

Filterable options, values or names

suleymanozev avatar May 30 '22 13:05 suleymanozev

Please provide a better description, it's hard to understand what is meant by this

stancl avatar May 30 '22 20:05 stancl

For example:

UserType::options(fn (UserType $userType) => $userType != UserType::SuperAdmin);
UserType::values(fn (UserType $userType) => $userType != UserType::SuperAdmin);
UserType::names(fn (UserType $userType) => $userType != UserType::SuperAdmin);

suleymanozev avatar May 31 '22 13:05 suleymanozev

Should be done in user app space... does not really belong into this package if you ask me 😉

mstaack avatar Jun 01 '22 08:06 mstaack