public function hint($hint)
    {
        if (null !== $hint && !is_array($hint)) {
            throw new \InvalidArgumentException(sprintf('The hint "%s" is not valid.', $hint));
        }

        $this->hint = $hint;

        return $this;
    }
public function hint($hint)
    {
        if (null !== $hint && !is_array($hint)) {
            throw new \InvalidArgumentException(sprintf('The hint "%s" is not valid.', $hint));
        }

        $this->hint = $hint;

        return $this;
    }
public function hint ( $ hint ) { if ( null !== $ hint && ! is_array ( $ hint ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The hint "%s" is not valid.' , $ hint ) ) ; } $ this -> hint = $ hint ; return $ this ; }
Set the hint.

@param array|null The hint.

@return \Mandango\Query The query instance (fluent interface).

@api
Set the hint .