src/traits/PropertiesTrait.php
protected static function buildTableName($suffix = '')
    {
        if (true === empty(static::$tablePrefix)) {
            if (strpos(static::tableName(), '}}') !== false) {
                $name = str_replace('}}', $suffix . '}}', static::tableName());
            } else {
                $name = static::tableName() . $suffix;
            }
        } else {
            $name = static::$tablePrefix . $suffix;
        }
        return $name;
    }
protected static function buildTableName($suffix = '')
    {
        if (true === empty(static::$tablePrefix)) {
            if (strpos(static::tableName(), '}}') !== false) {
                $name = str_replace('}}', $suffix . '}}', static::tableName());
            } else {
                $name = static::tableName() . $suffix;
            }
        } else {
            $name = static::$tablePrefix . $suffix;
        }
        return $name;
    }
protected static function buildTableName ( $ suffix = '' ) { if ( true === empty ( static :: $ tablePrefix ) ) { if ( strpos ( static :: tableName ( ) , '}}' ) !== false ) { $ name = str_replace ( '}}' , $ suffix . '}}' , static :: tableName ( ) ) ; } else { $ name = static :: tableName ( ) . $ suffix ; } } else { $ name = static :: $ tablePrefix . $ suffix ; } return $ name ; }
Build a valid table name with suffix
@param string $suffix
@return mixed|string
Build a valid table name with suffix