useColor

@param boolean $bool

@return  IOInterface
973221
public function useColor($bool = true)
    {
        if ($this->output instanceof ColorfulOutputInterface) {
            $this->output->getProcessor()->setNoColors(!$bool);
        }

        return $this;
    }
295384
public function denyAccess($bool = null)
    {
        if ($bool === null) {
            return $this->denyAccess;
        }

        return $this->denyAccess = $bool;
    }
692851
public function ignoreMemzero($bool = null)
    {
        if ($bool === null) {
            return $this->ignoreMemzero;
        }

        $this->ignoreMemzero = (bool) $bool;

        return $this;
    }
691185
public function setBoolean($boolean = null)
    {
        $this->boolean = null !== $boolean ? (bool) $boolean : null;

        return $this;
    }
1101548
public function setJoinColumnNullable($bool) {
    $this->nullable = $bool;
    $this->getJoinColumn()->setNullable($bool);
    return $this;
  }
318947
public function usePHPSession($bool = true)
    {
        if (!isset($_SESSION)) {
            session_start();
        }
        $this->_phpsession = $bool;
        return $this;
    }
953880
public static function backtrace($bool = false)
    {
        if (Daemon::$obInStack || $bool) {
            try {
                throw new \Exception;
            } catch (\Exception $e) {
                $trace = $e->getTraceAsString();
                $e = explode("\n", $trace);
                array_shift($e);
                array_shift($e);
                return implode("\n", $e);
            }
        }
        ob_start();
        debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
        $trace = ob_get_contents();
        ob_end_clean();

        $e = explode("\n", $trace);
        array_shift($e);
        return implode("\n", $e);
    }
1023413
public function convertToCamelCasedMethods($bool = null)
    {
        if ($bool === null) {
            return $this->camel_cased_methods;
        }

        return $this->camel_cased_methods = $bool;
    }
324832
function setDebug($bool)
    {
        $this->dbug = (boolean) $bool;
        $this->cfs_http->setDebug($this->dbug);
    }
203066
public function write(string $text, bool $eol = false): self
    {
        list($method, $this->method) = [$this->method ?: 'line', ''];

        $text  = $this->colorizer->{$method}($text, []);
        $error = \stripos($method, 'error') !== false;

        if ($eol) {
            $text .= \PHP_EOL;
        }

        return $this->doWrite($text, $error);
    }
1156077
public function isNormalized($bool = null)
	{
		if (isset($bool))
		{
			$this->isNormalized = $bool;
		}

		return $this->isNormalized;
	}
1001475
public function ifFalse($bool)
    {
        if (null !== $this->apply) {
            throw new \RuntimeException('Cannot nest ifTrue or ifFalse call');
        }

        $this->apply = (false === $bool);

        return $this;
    }
1259966
public function statsOnly(bool $bool = true): Compare
    {
        $this->stats = $this->useOption('--numstat', $bool);
        return $this;
    }
744735
private function _setBeginning($bool)
    {
        if (!is_bool($bool)) {
            throw new Exception('$bool in not boolean');
        }
        if ($this->_beginning === $bool) {
            throw new Exception("Error begin or end.");
        }
        $this->_beginning = $bool;
    }
1074488
public function interlace(bool $value = true)
    {
        $this->check();

        imageinterlace($this->image_resource, $value);

        return $this;
    }
771155
final public function distinct($boolean = TRUE)
    {
        $this->arrayDistinct = (is_bool($boolean)) ? $boolean : TRUE;
        return $this;
    }
482135
public function ignoreGlobal(?bool $bool = null): bool
    {
        if ($bool === null) {
            return $this->ignoreGlobal;
        }

        $this->ignoreGlobal = (bool) $bool;

        return $bool;
    }