src/AbstractRepository.php
public function paginate($toggle)
	{
		$this->paginate = $toggle === false ? false : (int) $toggle;

		return $this;
	}
public function paginate($toggle)
	{
		$this->paginate = $toggle === false ? false : (int) $toggle;

		return $this;
	}
Toggle pagination.

@param  false|int $toggle

@return $this