/** * @param \anlutro\Core\Auth\UserManager $users */ public function __construct(UserManager $users) { $this->users = $users; if ($this->users->getCurrentUser()->hasAccess('*')) { $this->users->withSoftDeleted(); } }
/** * @param \anlutro\Core\Auth\UserManager $users */ public function __construct(UserManager $users) { $this->users = $users; if ($this->users->getCurrentUser()->hasAccess('*')) { $this->users->withSoftDeleted(); } }