protected function prepare($object)
    {
        $this->metadata = $this->objectManager->getClassMetadata(get_class($object));
        $this->prepareStrategies();
    }
protected function prepare($object)
    {
        $this->metadata = $this->objectManager->getClassMetadata(get_class($object));
        $this->prepareStrategies();
    }
protected function prepare ( $ object ) { $ this -> metadata = $ this -> objectManager -> getClassMetadata ( get_class ( $ object ) ) ; $ this -> prepareStrategies ( ) ; }
Prepare the hydrator by adding strategies to every collection valued associations

@param  object $object
@return void
Prepare the hydrator by adding strategies to every collection valued associations