EnumerationInterface
interface EnumerationInterface implements ValueMultitonInterface
The interface implemented by C++ style enumeration instances.
Methods
boolean
anyOf(
MultitonInterface $a,
MultitonInterface $b)
Check if this member is in the specified list of members.
from
MultitonInterface
boolean
anyOfArray(
array $values)
Check if this member is in the specified list of members.
from
MultitonInterface
Details
in
MultitonInterface at line 28
string
key()
Returns the string key of this member.
in
MultitonInterface at line 41
boolean
anyOf(
MultitonInterface $a,
MultitonInterface $b)
Check if this member is in the specified list of members.
in
MultitonInterface at line 52
boolean
anyOfArray(
array $values)
Check if this member is in the specified list of members.
in
MultitonInterface at line 63
string
__toString()
Returns a string representation of this member.
in
ValueMultitonInterface at line 28
mixed
value()
Returns the value of this member.