/**
  * Create a new UserController
  *
  * @param User          $users
  * @param UserValidator $validator
  */
 public function __construct(User $users, Group $groups)
 {
     parent::__construct();
     $this->users = $users;
     $this->groups = $groups;
     $this->validator = new UserValidator($this->namespaced("UserController"));
 }
 /**
  * Create a new GroupController
  *
  */
 public function __construct(Group $groups)
 {
     parent::__construct();
     $this->groups = $groups;
 }