1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/app/Models/Presenters/UserPresenter.php
David Bomba e4f46c2a4e
Presenters, skinned views, model refactoring (#2464)
* Default database connection - set defaults for engine and strict

* Working on tests for refactored model

* Fixes for tests, use polymorphic relationships for Invitations

* skin the password reset pages
2018-10-22 23:04:37 +11:00

14 lines
205 B
PHP

<?php
namespace App\models\Presenters;
class UserPresenter extends EntityPresenter
{
public function name()
{
return $this->entity->first_name . ' ' . $this->entity->last_name;
}
}