final public function getAllValues() {
        $subClass = get_called_class();

        // Subclass has already been registered
        if(isset($this->_cachedEnums[$subClass])) {
            return FALSE;
        }

        $reflection = new \ReflectionClass($subClass);

        return $reflection->getConstants();
    }
final public function getAllValues() {
        $subClass = get_called_class();

        // Subclass has already been registered
        if(isset($this->_cachedEnums[$subClass])) {
            return FALSE;
        }

        $reflection = new \ReflectionClass($subClass);

        return $reflection->getConstants();
    }
final public function getAllValues ( ) { $ subClass = get_called_class ( ) ; // Subclass has already been registered if ( isset ( $ this -> _cachedEnums [ $ subClass ] ) ) { return FALSE ; } $ reflection = new \ ReflectionClass ( $ subClass ) ; return $ reflection -> getConstants ( ) ; }
Return all populated arrays

@return false|array  return array of constants
or false when the subclass is
already registered in cache
Return all populated arrays