add hydrate's method in EntityRepository's directory