public static function hydrateCollection(array $clients)
    {
        $hydrated = [];

        foreach ($clients as $client) {
            $hydrated[] = self::hydrate($client);
        }

        return $hydrated;
    }
public static function hydrateCollection(array $clients)
    {
        $hydrated = [];

        foreach ($clients as $client) {
            $hydrated[] = self::hydrate($client);
        }

        return $hydrated;
    }
public static function hydrateCollection ( array $ clients ) { $ hydrated = [ ] ; foreach ( $ clients as $ client ) { $ hydrated [ ] = self :: hydrate ( $ client ) ; } return $ hydrated ; }
Hydrate a collection of client object into a collection of
ClientEntity objects

@param stdClass[] $clients
@return ClientEntity[]
Hydrate a collection of client object into a collection of ClientEntity objects