Closed VitalyArt closed 10 months ago
exceptions
Exceptions
bootstrap.php
getTypeString()
Entry
EntryTypeEnum
DateTime
DateTimeImmutable
ParserException
getDuration()
readonly
Demo
English:
Compatibility-breaking changes:
exceptions
has been renamed toExceptions
bootstrap.php
has been removed.getTypeString()
method of theEntry
class now returns anEntryTypeEnum
.DateTime
has been changed toDateTimeImmutable
.Non-compatibility-breaking changes:
ParserException
class.getDuration()
method that returns the duration of the demo file in seconds.EntryTypeEnum
enum has been added.Русский:
Изменения ломающие совместимость:
exceptions
был переименован вExceptions
bootstrap.php
getTypeString()
классаEntry
возвращаетEntryTypeEnum
DateTime
изменены наDateTimeImmutable
Изменения не ломающие совместимость:
readonly
ParserException
Demo
добавлен методgetDuration()
возвращающий время демо файла в секундахEntryTypeEnum