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-01-27 10:22:57 +11:00

92 lines
1.0 KiB
PHP

<?php
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)
{
}
}