__construct() public method

public __construct ( )
 /**
  * Initialize user controller.
  *
  * @param type UserRepositoryInterface $user
  *
  * @return type
  */
 public function __construct(UserRepository $user, PermissionRepository $permission, RoleRepository $roles)
 {
     $this->repository = $user;
     $this->permission = $permission;
     $this->roles = $roles;
     parent::__construct();
 }
 /**
  * Initialize setting controller.
  *
  * @param type SettingRepositoryInterface $setting
  *
  * @return type
  */
 public function __construct(SettingRepositoryInterface $setting)
 {
     $this->repository = $setting;
     parent::__construct();
 }
 public function __construct(\Litepie\Contracts\Menu\MenuRepository $menu)
 {
     $this->repository = $menu;
     parent::__construct();
 }
 /**
  * Initialize permission controller.
  *
  * @param type PermissionRepositoryInterface $permission
  *
  * @return type
  */
 public function __construct(PermissionRepository $permission)
 {
     parent::__construct();
     $this->repository = $permission;
 }
 /**
  * Initialize role controller.
  *
  * @param type RoleRepositoryInterface $role
  *
  * @return type
  */
 public function __construct(RoleRepository $role, PermissionRepository $permission)
 {
     $this->permission = $permission;
     $this->repository = $role;
     parent::__construct();
 }
 /**
  * Initialize page controller.
  *
  * @param type PageRepositoryInterface $page
  *
  * @return type
  */
 public function __construct(PageRepositoryInterface $page)
 {
     parent::__construct();
     $this->repository = $page;
 }