Strata\Security\TimezoneSetter

Sets a default timezone value in the current PHP process.

    Synopsis

    class TimezoneSetter extends ImprovementBase {
    • // constants
    • const DEFAULT_TIMEZONE = 'America/New_York';
    • // Inherited methods from ImprovementBase
    • public abstract void register()
    }

    Hierarchy

    Constants

    Name Value
    DEFAULT_TIMEZONE 'America/New_York'

    Methods

    public

    Inherited from Strata\Security\ImprovementBase

    public

    • register() — Registers the filter that handles comment validation if required.