1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/app/Models/Presenters/EntityPresenter.php

92 lines
1.0 KiB
PHP
Raw Normal View History

<?php
namespace App\Models\Presenters;
use App\Utils\Traits\MakesHash;
use Hashids\Hashids;
use Laracasts\Presenter\Presenter;
use URL;
use Utils;
use stdClass;
2019-01-27 00:22:57 +01:00
/**
* Class EntityPresenter
* @package App\Models\Presenters
*/
class EntityPresenter extends Presenter
{
use MakesHash;
2019-01-27 00:22:57 +01:00
/**
* @return string
*/
public function id()
{
return $this->encodePrimaryKey($this->entity->id);
}
2019-01-27 00:22:57 +01:00
/**
*
*/
public function url()
{
}
2019-01-27 00:22:57 +01:00
/**
*
*/
public function path()
{
}
2019-01-27 00:22:57 +01:00
/**
*
*/
public function editUrl()
{
}
2019-01-27 00:22:57 +01:00
/**
* @param bool $label
*/
public function statusLabel($label = false)
{
}
2019-01-27 00:22:57 +01:00
/**
*
*/
public function statusColor()
{
}
2019-01-27 00:22:57 +01:00
/**
*
*/
public function link()
{
}
2019-01-27 00:22:57 +01:00
/**
*
*/
public function titledName()
{
}
2019-01-27 00:22:57 +01:00
/**
* @param bool $subColors
*/
public function calendarEvent($subColors = false)
{
}
}