Пример #1
0
 /**
  * @param \anlutro\Core\Auth\UserManager $users
  */
 public function __construct(UserManager $users)
 {
     $this->users = $users;
     if ($this->users->getCurrentUser()->hasAccess('*')) {
         $this->users->withSoftDeleted();
     }
 }