public function renderName(): string
    {
        $tableName = $this->name;

        if (!$this->usePrefix) {
            return $tableName;
        }

        if ($this->dbPrefix && strpos($this->name, $this->dbPrefix) === 0) {
            $tableName = substr($this->name, mb_strlen($this->dbPrefix, 'UTF-8'));
        }

        return '{{%' . $tableName . '}}';
    }
public function renderName(): string
    {
        $tableName = $this->name;

        if (!$this->usePrefix) {
            return $tableName;
        }

        if ($this->dbPrefix && strpos($this->name, $this->dbPrefix) === 0) {
            $tableName = substr($this->name, mb_strlen($this->dbPrefix, 'UTF-8'));
        }

        return '{{%' . $tableName . '}}';
    }
public function renderName ( ) : string { $ tableName = $ this -> name ; if ( ! $ this -> usePrefix ) { return $ tableName ; } if ( $ this -> dbPrefix && strpos ( $ this -> name , $ this -> dbPrefix ) === 0 ) { $ tableName = substr ( $ this -> name , mb_strlen ( $ this -> dbPrefix , 'UTF-8' ) ) ; } return '{{%' . $ tableName . '}}' ; }
Renders table name.
@return string
Renders table name .