Add instanced methods #4
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vlw/functionflags!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/4/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR implements the instanced methods desribed in the README (before they were added 😳)
This is however kind of useless.. since all PHP constants are scoped globally by nature, it's not possible to define two constants with the same name (or in this instance "flag") - and that kinda defeats the purpose of having them scoped in the first place.So before merge it might be more prudent to just expose the instanced methods as aliases for their static counterpart.Edit: Instanced functionality now behaves as expected. There IS a way to scope constants artifically, which is what I have done here.