Public Member Functions | |
getList () | |
of ($class) | |
importValue ($value) | |
import ($scope) |
Definition at line 15 of file PrimitiveEnumeration.class.php.
PrimitiveEnumeration::getList | ( | ) |
Definition at line 17 of file PrimitiveEnumeration.class.php.
References Assert::isUnreachable().
PrimitiveEnumeration::import | ( | $ | scope | ) |
Reimplemented from PrimitiveNumber.
Reimplemented in PrimitiveEnumerationByValue, and PrimitiveEnumerationList.
Definition at line 61 of file PrimitiveEnumeration.class.php.
PrimitiveEnumeration::importValue | ( | $ | value | ) |
Reimplemented from BasePrimitive.
Reimplemented in PrimitiveEnumerationList.
Definition at line 51 of file PrimitiveEnumeration.class.php.
References BasePrimitive::$value, BasePrimitive::getName(), and Assert::isEqual().
PrimitiveEnumeration::of | ( | $ | class | ) |
WrongArgumentException |
Reimplemented from IdentifiablePrimitive.
Definition at line 38 of file PrimitiveEnumeration.class.php.
References IdentifiablePrimitive::$className, Assert::classExists(), IdentifiablePrimitive::guessClassName(), and Assert::isInstance().