public function setLimit($limit)
    {
        $message = 'Given limit must be a positive number.';
        Assertion::numeric($limit, $message);
        Assertion::min($limit, 0, $message);

        $this->limit = $limit;
    }