src/Zf2Forum/Model/Visit/VisitHydrator.php
public function hydrate(array $data, $object)
    {
        if (!$object instanceof VisitInterface) {
            throw new Exception\InvalidArgumentException(
                '$object must be an instance of Zf2Forum\Model\Visit\VisitInterface'
            );
        }

        return parent::hydrate($data, $object);
    }
public function hydrate(array $data, $object)
    {
        if (!$object instanceof VisitInterface) {
            throw new Exception\InvalidArgumentException(
                '$object must be an instance of Zf2Forum\Model\Visit\VisitInterface'
            );
        }

        return parent::hydrate($data, $object);
    }
hydrate

@param unknown_type $object
@throws Exception\InvalidArgumentException