public function auto($mode = self::AUTO_ALL)
    {
        Types::assert(['int' => [$mode]]);

        $this->automaticHeaders = $mode;
    }
public function auto($mode = self::AUTO_ALL)
    {
        Types::assert(['int' => [$mode]]);

        $this->automaticHeaders = $mode;
    }
public function auto ( $ mode = self :: AUTO_ALL ) { Types :: assert ( [ 'int' => [ $ mode ] ] ) ; $ this -> automaticHeaders = $ mode ; }
Enable or disable certain automatically applied header functions

If unconfigured, the default setting is {@see AUTO_ALL}.

@api

@param int $mode
`auto` accepts one or more of the following constants. Multiple
constants may be specified by combination using
[bitwise operators](https://secure.php.net/manual/language.operators.bitwise.php).

You are **strongly** advised to make use of the constants by name,
and **not** by value. Constant values may be updated at any time
without a major version bump.

@return void
Enable or disable certain automatically applied header functions