ValueMultitonInterface
interface ValueMultitonInterface implements MultitonInterface
The interface implemented by Java-style enumeration instances with a value.
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
mixed
value()
Returns the value of this member.
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.
at line 28
mixed
value()
Returns the value of this member.