for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace API\Repositories;
use Tymon\JWTAuth\JWTAuth;
use API\User;
use API\WorkoutType;
use API\WorkoutPlan;
class BaseRepository
{
protected $JWTAuth;
protected $user;
protected $workoutType;
protected $workoutPlan;
public function __construct(JWTAuth $JWTAuth, User $user, WorkoutType $workoutType, WorkoutPlan $workoutPlan)
$this->JWTAuth = $JWTAuth;
$this->user = $user;
$this->workoutType = $workoutType;
$this->workoutPlan = $workoutPlan;
}