src/Zf2Forum/Model/Topic/TopicHydrator.php
public function hydrate(array $data, $object)
    {
        if (!$object instanceof TopicInterface) {
            throw new Exception\InvalidArgumentException('$object must be an instance of Zf2Forum\Model\Thread\TopicInterface');
        }
        return parent::hydrate($data, $object);
    }
public function hydrate(array $data, $object)
    {
        if (!$object instanceof TopicInterface) {
            throw new Exception\InvalidArgumentException('$object must be an instance of Zf2Forum\Model\Thread\TopicInterface');
        }
        return parent::hydrate($data, $object);
    }
public function hydrate ( array $ data , $ object ) { if ( ! $ object instanceof TopicInterface ) { throw new Exception \ InvalidArgumentException ( '$object must be an instance of Zf2Forum\Model\Thread\TopicInterface' ) ; } return parent :: hydrate ( $ data , $ object ) ; }
Hydrate $object with the provided $data.

@param  array $data
@param  object $object
@return TopicInterface
@throws Exception\InvalidArgumentException
Hydrate $object with the provided $data .