private function getTable(AggregateType $aggregateType)
    {
        if (isset($this->snapshotTableMap[$aggregateType->toString()])) {
            $tableName = $this->snapshotTableMap[$aggregateType->toString()];
        } else {
            $tableName = strtolower($this->getShortAggregateTypeName($aggregateType));
            if (strpos($tableName, "_snapshot") === false) {
                $tableName.= "_snapshot";
            }
        }
        return $tableName;
    }
private function getTable(AggregateType $aggregateType)
    {
        if (isset($this->snapshotTableMap[$aggregateType->toString()])) {
            $tableName = $this->snapshotTableMap[$aggregateType->toString()];
        } else {
            $tableName = strtolower($this->getShortAggregateTypeName($aggregateType));
            if (strpos($tableName, "_snapshot") === false) {
                $tableName.= "_snapshot";
            }
        }
        return $tableName;
    }
private function getTable ( AggregateType $ aggregateType ) { if ( isset ( $ this -> snapshotTableMap [ $ aggregateType -> toString ( ) ] ) ) { $ tableName = $ this -> snapshotTableMap [ $ aggregateType -> toString ( ) ] ; } else { $ tableName = strtolower ( $ this -> getShortAggregateTypeName ( $ aggregateType ) ) ; if ( strpos ( $ tableName , "_snapshot" ) === false ) { $ tableName .= "_snapshot" ; } } return $ tableName ; }
Get table name for given aggregate type

@param AggregateType $aggregateType
@return string
Get table name for given aggregate type