Set true or false to use RAW data in request

@param boolean $bool
@throws RuntimeException
@return \Slice\Http\Client
329381
public function rawData($bool = false)
	{
		if (is_bool($bool)) {
			$this->useRawData = $bool;
		} else {
			throw new RuntimeException('Invalid parameter type, expected boolean, got ' . gettype($bool));
		}
		
		return $this;
	}
493002
static function dbd($bool = true)
	{
		global $php;
		if($bool) $php->db->debug = true;
		else $php->db->debug = false;
	}
661039
public function setSatisfied($bool = true)
    {
        $storage = $this->getStorage()->read() ?: [];
        $storage['is_satisfied'] = $bool;
        $this->getStorage()->write($storage);

        return $this;
    }
8108
public function multiple($bool = true)
    {
        if ($this->props['type'] == 'date')
            $this->props['multiple'] = (bool)$bool;
        else
            $this->props['multiple'] = false;

        return $this;
    }
521095
public function setRunAsDaemon($boolean)
    {
        $this->_runasdaemon = (bool) $boolean;
        ignore_user_abort($this->_runasdaemon);
        return $this->_runasdaemon;
    }
359933
public function setWww( bool $www = true )
	{
		$this->www = $www;
		$this->invoke("www", $www);
		return $this;
	}
343215
public function useResultCache($bool, $lifetime = null, $resultCacheId = null)
    {
        if ($bool) {
            $this->setResultCacheLifetime($lifetime);
            $this->setResultCacheId($resultCacheId);

            return $this;
        }

        $this->_queryCacheProfile = null;

        return $this;
    }
886147
public function distinct(bool $value = true)
    {
        $instance = $this->selectQueryInstance();

        $instance->selectQuery()->distinct($value);

        return $instance;
    }
1259966
public function statsOnly(bool $bool = true): Compare
    {
        $this->stats = $this->useOption('--numstat', $bool);
        return $this;
    }
353817
public static function create($boolean = TRUE) {
    $is_upper = FormatterFactory::getDefaultFormatter()->getConfig('boolean_null_upper');
    $node = new TrueNode();
    $node->addChild(NameNode::create($is_upper ? 'TRUE' : 'true'), 'constantName');
    return $node;
  }
480615
public static function create($boolean = FALSE) {
    $is_upper = FormatterFactory::getDefaultFormatter()->getConfig('boolean_null_upper');
    $node = new FalseNode();
    $node->addChild(NameNode::create($is_upper ? 'FALSE' : 'false'), 'constantName');
    return $node;
  }
714055
public function validateAsArray($bool = null) {

		if(false === is_bool($bool) && null !== $bool) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type boolean, "%s" given', __METHOD__, gettype($bool)), E_USER_ERROR);
		}

		if(null === $bool) {
			$bool = true;
		}

		foreach($this -> getFieldnames() as $field) {
			$this -> validateAsArray[$field] = $bool;
		}

		return $this;
	}
190470
public function setAsFailRoute($bool = true)
    {
        if(!$bool)
            return $this;

        $name = $this->name;

        if(!$name)
            throw new InvalidArgumentException('This route has to be named first.');

        $this->group->setFailRoute($name);

        return $this;
    }
475889
protected function getHttpClient(bool $force = false): HttpClient
    {
        if ($this->_httpClient === null || $force) {
            $config = ArrayHelper::merge(['class' => HttpClient::class], $this->httpClientConfig);
            $config['baseUrl'] = $this->getBaseUrl();

            return $this->_httpClient = Yii::createObject($config);
        } else {
            return $this->_httpClient;
        }
    }
284286
public static function setRedirect($bool) {

		if(null !== $bool && false === is_bool($bool)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type boolean, "%s" given', __METHOD__, gettype($bool)), E_USER_ERROR);
		}

		static :: $isRedirect = $bool;
	}
238277
protected function convertStringToBool($bool)
    {
        $bool = strtoupper($bool);

        if ($bool === strtoupper($this->schema->false())) {
            return false;
        } elseif ($bool === strtoupper($this->schema->true())) {
            return true;
        } else {
            return;
        }
    }
601199
public function consistent($bool = true)
    {
        if ($bool === false && $this->index->isSecondaryGlobal()) {
            throw ODMException::secondaryGlobalIndexConsistentReadNotSupported($this->index->getName());
        }

        return parent::consistent($bool);
    }