invoiceninja/app/Models/Presenters/UserPresenter.php

21 lines
308 B
PHP
Raw Normal View History

<?php
namespace App\Models\Presenters;
2019-01-27 10:22:57 +11:00
/**
* Class UserPresenter
* @package App\Models\Presenters
*/
class UserPresenter extends EntityPresenter
{
2019-01-27 10:22:57 +11:00
/**
* @return string
*/
public function name()
{
return $this->entity->first_name . ' ' . $this->entity->last_name;
}
}