src/AbstractRepository.php
public function toggleExceptions($toggle, $toggleValidator = true)
	{
		$this->throwExceptions = (bool) $toggle;

		if ($this->validator && $toggleValidator) {
			$this->validator->toggleExceptions((bool) $toggle);
		}

		return $this;
	}
public function toggleExceptions($toggle, $toggleValidator = true)
	{
		$this->throwExceptions = (bool) $toggle;

		if ($this->validator && $toggleValidator) {
			$this->validator->toggleExceptions((bool) $toggle);
		}

		return $this;
	}
Toggle throwing of exceptions.

@param  boolean $toggle
@param  boolean $toggleValidator Whether or not to toggle exceptions on
the validator as well as the repository. Defaults to true

@return $this