e890534ae1954c959054d00963f8264d
<?php

/*
 * This file is part of Flarum.
 *
 * For detailed copyright and license information, please view the
 * LICENSE file that was distributed with this source code.
 */

namespace Flarum\Dogecoin;

use Flarum\User\DisplayName\DriverInterface;
use Flarum\User\User;

class DogecoinDriver implements DriverInterface
{
    public function displayName(User $user): string
    {
        // to show the Dogecoin address as username we use this insted
        // $user->dogecoin ? $user->dogecoin : $user->username
        return $user->username;
    }
}
.p761538319{m:1}