Add documentation

This commit is contained in:
Adrien Poupa
2019-01-06 20:09:47 -05:00
parent e5270929b3
commit f01e999ea0
3 changed files with 45 additions and 10 deletions

View File

@@ -26,18 +26,43 @@ use Illuminate\Contracts\View\View;
*/
class DashboardComposer
{
private $componentCount;
private $incidentCount;
private $incidentTemplateCount;
private $scheduleCount;
private $subscriberCount;
/**
* The component count.
*
* @var int
*/
protected $componentCount;
/**
* DashboardComposer constructor.
* The incident count.
*
* @var int
*/
protected $incidentCount;
/**
* The incident template count.
*
* @var int
*/
protected $incidentTemplateCount;
/**
* The schedule count.
*
* @var int
*/
protected $scheduleCount;
/**
* The subscriber count.
*
* @var int
*/
protected $subscriberCount;
/**
* Create a new dashboard composer instance.
*/
public function __construct()
{

View File

@@ -20,6 +20,11 @@ class ComponentGroupPresenter extends BasePresenter implements Arrayable
{
use TimestampsTrait;
/**
* Flags for the enabled_components_lowest function.
*
* @var bool
*/
protected $enabledComponentsLowest = false;
/**

View File

@@ -29,6 +29,11 @@ class IncidentPresenter extends BasePresenter implements Arrayable
*/
protected $dates;
/**
* Flag for the latest function.
*
* @var bool
*/
protected $latest = false;
/**