2017-01-30 20:40:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
2015-03-17 02:30:56 +01:00
|
|
|
|
2015-11-05 23:37:04 +01:00
|
|
|
use App\Services\ActivityService;
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2015-04-02 15:12:12 +02:00
|
|
|
class ActivityController extends BaseController
|
2015-03-16 22:45:25 +01:00
|
|
|
{
|
2015-11-05 23:37:04 +01:00
|
|
|
protected $activityService;
|
2015-10-28 20:22:07 +01:00
|
|
|
|
2015-11-05 23:37:04 +01:00
|
|
|
public function __construct(ActivityService $activityService)
|
2015-10-28 20:22:07 +01:00
|
|
|
{
|
2016-03-02 14:36:42 +01:00
|
|
|
//parent::__construct();
|
2015-10-28 20:22:07 +01:00
|
|
|
|
2015-11-05 23:37:04 +01:00
|
|
|
$this->activityService = $activityService;
|
2015-10-28 20:22:07 +01:00
|
|
|
}
|
|
|
|
|
2015-03-16 22:45:25 +01:00
|
|
|
public function getDatatable($clientPublicId)
|
|
|
|
{
|
2015-11-05 23:37:04 +01:00
|
|
|
return $this->activityService->getDatatable($clientPublicId);
|
2015-03-16 22:45:25 +01:00
|
|
|
}
|
|
|
|
}
|