Modules\Doptor\TranslationManager\Presenters\TranslationManagerPresenter::author PHP Method

author() public method

Get the slideshow's author
public author ( ) : string
return string
    public function author()
    {
        try {
            $user = Sentry::findUserById($this->created_by);
            return $user->username;
        } catch (UserNotFoundException $e) {
            return '';
        }
    }
TranslationManagerPresenter