2.0.0
Added
- Method
freeze()was added to interfaceGhostwriter\Clock\Interface\ClockInterface - Method
freeze()was added to interfaceGhostwriter\Clock\Interface\FrozenClockInterface - Method
freeze()was added to interfaceGhostwriter\Clock\Interface\LocalizedClockInterface - Method
freeze()was added to interfaceGhostwriter\Clock\Interface\SystemClockInterface - Method
new()was added to interfaceGhostwriter\Clock\Interface\FrozenClockInterface - Method
new()was added to interfaceGhostwriter\Clock\Interface\LocalizedClockInterface - Method
new()was added to interfaceGhostwriter\Clock\Interface\SystemClockInterface - Method
withDateTimeZone()was added to interfaceGhostwriter\Clock\Interface\ClockInterface - Method
withDateTimeZone()was added to interfaceGhostwriter\Clock\Interface\FrozenClockInterface - Method
withDateTimeZone()was added to interfaceGhostwriter\Clock\Interface\LocalizedClockInterface - Method
withDateTimeZone()was added to interfaceGhostwriter\Clock\Interface\SystemClockInterface - Method
withSystemTimezone()was added to interfaceGhostwriter\Clock\Interface\ClockInterface - Method
withSystemTimezone()was added to interfaceGhostwriter\Clock\Interface\FrozenClockInterface - Method
withSystemTimezone()was added to interfaceGhostwriter\Clock\Interface\LocalizedClockInterface - Method
withSystemTimezone()was added to interfaceGhostwriter\Clock\Interface\SystemClockInterface - Method
withTimezone()was added to interfaceGhostwriter\Clock\Interface\ClockInterface - Method
withTimezone()was added to interfaceGhostwriter\Clock\Interface\FrozenClockInterface - Method
withTimezone()was added to interfaceGhostwriter\Clock\Interface\LocalizedClockInterface - Method
withTimezone()was added to interfaceGhostwriter\Clock\Interface\SystemClockInterface
Changed
- Method
__construct()of classGhostwriter\Clock\FrozenClockvisibility reduced from public to private - Method
__construct()of classGhostwriter\Clock\LocalizedClockvisibility reduced from public to private - Method
freeze()of classGhostwriter\Clock\Trait\ClockTraitchanged from concrete to abstract - Method
now()of classGhostwriter\Clock\Trait\ClockTraitchanged from concrete to abstract - Method
withDateTimeZone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withDateTimeZone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withDateTimeZone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withDateTimeZone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withSystemTimezone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withSystemTimezone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withSystemTimezone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withSystemTimezone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withTimezone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withTimezone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withTimezone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - Method
withTimezone()of classGhostwriter\Clock\Trait\ClockTraitchanged scope from static to instance - The number of required arguments for
Ghostwriter\Clock\FrozenClock#__construct()increased from 0 to 1 - The number of required arguments for
Ghostwriter\Clock\LocalizedClock#__construct()increased from 0 to 1
Removed
- Class
Ghostwriter\Clock\Exception\UnsupportedClockExceptionhas been deleted - Method
Ghostwriter\Clock\FrozenClock#__construct()was removed - Method
Ghostwriter\Clock\LocalizedClock#__construct()was removed - Method
Ghostwriter\Clock\SystemClock::create()was removed
Full Changelog: 1.1.0...2.0.0