src/Zf2EventStoreAdapter.php
protected function getTable(StreamName $streamName)
    {
        if (isset($this->streamTableMap[$streamName->toString()])) {
            $tableName = $this->streamTableMap[$streamName->toString()];
        } else {
            $tableName = strtolower($this->getShortStreamName($streamName));

            if (strpos($tableName, "_stream") === false) {
                $tableName.= "_stream";
            }
        }

        return $tableName;
    }
protected function getTable(StreamName $streamName)
    {
        if (isset($this->streamTableMap[$streamName->toString()])) {
            $tableName = $this->streamTableMap[$streamName->toString()];
        } else {
            $tableName = strtolower($this->getShortStreamName($streamName));

            if (strpos($tableName, "_stream") === false) {
                $tableName.= "_stream";
            }
        }

        return $tableName;
    }
protected function getTable ( StreamName $ streamName ) { if ( isset ( $ this -> streamTableMap [ $ streamName -> toString ( ) ] ) ) { $ tableName = $ this -> streamTableMap [ $ streamName -> toString ( ) ] ; } else { $ tableName = strtolower ( $ this -> getShortStreamName ( $ streamName ) ) ; if ( strpos ( $ tableName , "_stream" ) === false ) { $ tableName .= "_stream" ; } } return $ tableName ; }
Get table name for given stream name

@param StreamName $streamName
@return string
Get table name for given stream name