public function __construct(array $extractKeys, $prototype) { $this->hydrator = new ClassMethodsHydrator(); $this->hydrator->setNamingStrategy(new CamelCaseNamingStrategy()); $this->setExtractKeys($extractKeys); $this->prototype = $prototype; }