public function skip($skip)
    {
        if (null !== $skip) {
            if (!is_numeric($skip) || $skip != (int) $skip) {
                throw new \InvalidArgumentException('The skip is not valid.');
            }
            $skip = (int) $skip;
        }

        $this->skip = $skip;

        return $this;
    }
public function skip($skip)
    {
        if (null !== $skip) {
            if (!is_numeric($skip) || $skip != (int) $skip) {
                throw new \InvalidArgumentException('The skip is not valid.');
            }
            $skip = (int) $skip;
        }

        $this->skip = $skip;

        return $this;
    }
public function skip ( $ skip ) { if ( null !== $ skip ) { if ( ! is_numeric ( $ skip ) || $ skip != ( int ) $ skip ) { throw new \ InvalidArgumentException ( 'The skip is not valid.' ) ; } $ skip = ( int ) $ skip ; } $ this -> skip = $ skip ; return $ this ; }
Set the skip.

@param int|null $skip The skip.

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

@throws \InvalidArgumentException If the skip is not a valid integer, or null.

@api
Set the skip .