Enables or disables Kint, can globally enforce the rendering mode. If called without parameters, returns the
current mode.
public static enabled ( mixed $forceMode = null ) : mixed | ||
$forceMode | mixed | null or void - return current mode false - disable (no output) true - enable and detect cli automatically Kint::MODE_* - enable and force selected mode disregarding detection and function shorthand (s()/d()), note that you can still override this with the "~" modifier |
Результат | mixed | previously set value if a new one is passed |