public function __construct(TeacherRepository $repo, UserRepository $user) { $this->repo = $repo; $this->user = $user; }