src/LightSaml/Store/Credential/CompositeCredentialStore.php
public function getByEntityId($entityId)
    {
        $result = array();
        foreach ($this->stores as $store) {
            $result = array_merge($result, $store->getByEntityId($entityId));
        }

        return $result;
    }
public function getByEntityId($entityId)
    {
        $result = array();
        foreach ($this->stores as $store) {
            $result = array_merge($result, $store->getByEntityId($entityId));
        }

        return $result;
    }
@param string $entityId

@return CredentialInterface[]