Add documentation
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
@@ -20,6 +20,11 @@ class ComponentGroupPresenter extends BasePresenter implements Arrayable
|
||||
{
|
||||
use TimestampsTrait;
|
||||
|
||||
/**
|
||||
* Flags for the enabled_components_lowest function.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $enabledComponentsLowest = false;
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,6 +29,11 @@ class IncidentPresenter extends BasePresenter implements Arrayable
|
||||
*/
|
||||
protected $dates;
|
||||
|
||||
/**
|
||||
* Flag for the latest function.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $latest = false;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user