for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Tracker\Providers;
use Arcanedev\Support\ServiceProvider;
use Arcanesoft\Tracker\ViewComposers\Dashboard;
/**
* Class ComposerServiceProvider
*
* @package Arcanesoft\Tracker\Providers
* @author ARCANEDEV <[email protected]>
*/
class ComposerServiceProvider extends ServiceProvider
{
/* ------------------------------------------------------------------------------------------------
| Main Functions
| ------------------------------------------------------------------------------------------------
* {@inheritdoc}
public function boot()
$this->registerDashboardComposers();
}
public function register()
//
| Other Functions
* Register all the dashboard view composers.
private function registerDashboardComposers()
view()->composer(
Dashboard\LatestThirtyDaysVisitsAndVisitorsComposer::VIEW,
Dashboard\LatestThirtyDaysVisitsAndVisitorsComposer::class
);
Dashboard\AuthenticatedVisitorsRatioComposer::VIEW,
Dashboard\AuthenticatedVisitorsRatioComposer::class
Dashboard\DevicesRatioComposer::VIEW,
Dashboard\DevicesRatioComposer::class