protected function createHydrator(string $class) : void
    {
        $config        = new Configuration($class);
        $hydratorClass = $config->createFactory()->getHydratorClass();

        $this->hydrator = new $hydratorClass();
    }
protected function createHydrator(string $class) : void
    {
        $config        = new Configuration($class);
        $hydratorClass = $config->createFactory()->getHydratorClass();

        $this->hydrator = new $hydratorClass();
    }
protected function createHydrator ( string $ class ) : void { $ config = new Configuration ( $ class ) ; $ hydratorClass = $ config -> createFactory ( ) -> getHydratorClass ( ) ; $ this -> hydrator = new $ hydratorClass ( ) ; }
Create and set the hydrator
Create and set the hydrator