# Example of usage:
$parser = new \VitalyArt\DemoParser\Parser();
$parser->setDemoFile('/path/to/demo/pub-1609152130-de_dust2_2x2.dem');
$demo = $parser->getDemo();
$demo->getDemoProtocol();
$demo->getNetProtocol();
$demo->getMapName();
$demo->getClientName();
$demo->getStartTime();
$demo->getEndTime();
$demo->getDuration();
foreach($demo->getEntries() as $entry) {
$entry->getTypeString();
$entry->getType();
$entry->getDescription();
$entry->getFlags();
$entry->getCDTrack();
$entry->getTrackTime();
$entry->getFrames();
$entry->getOffset();
$entry->getFileLength();
}