code: public function findBy(array $criteria = [])
      {
          Assertion::isArray($criteria);
  
          $storage = reset($this->storages);
          $identities = $storage->findBy($criteria);
  
          array_walk($identities, function (Identity $identity) {
              $this->validator->validate($identity);
          });
  
          return $identities;
      }
docs: {@inheritdoc}