1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 17:01:33 +02:00
invoiceninja/app/Models/Presenters/EntityPresenter.php
2019-05-11 13:32:07 +10:00

101 lines
1.3 KiB
PHP

<?php
/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2019. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\Models\Presenters;
use App\Utils\Traits\MakesHash;
use Hashids\Hashids;
use Laracasts\Presenter\Presenter;
use URL;
use Utils;
use stdClass;
/**
* Class EntityPresenter
* @package App\Models\Presenters
*/
class EntityPresenter extends Presenter
{
use MakesHash;
/**
* @return string
*/
public function id()
{
return $this->encodePrimaryKey($this->entity->id);
}
/**
*
*/
public function url()
{
}
/**
*
*/
public function path()
{
}
/**
*
*/
public function editUrl()
{
}
/**
* @param bool $label
*/
public function statusLabel($label = false)
{
}
/**
*
*/
public function statusColor()
{
}
/**
*
*/
public function link()
{
}
/**
*
*/
public function titledName()
{
}
/**
* @param bool $subColors
*/
public function calendarEvent($subColors = false)
{
}
}