Mecha CMS

Lot::type()

Set or get response type.

2.2.0 Static

Lot::type(void);
Lot::type(string $type, array $lot = []);

Example:

// Set
Lot::type('text/plain');

// Get
echo Lot::type();