Connector/IdentityService/IdentityService.php
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;
    }
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;
    }
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 ; }
{@inheritdoc}
{