block = new ListBlock($listData); } public function getBlock(): ListBlock { return $this->block; } public function isContainer(): bool { return true; } public function canContain(AbstractBlock $childBlock): bool { if (! $childBlock instanceof ListItem) { return false; } // Another list item is being added to this list block. // If the previous line was blank, that means this list // block is "loose" (not tight). if ($this->hadBlankLine && $this->linesAfterBlank === 1) { $this->block->setTight(false); $this->hadBlankLine = false; } return true; } public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue { if ($cursor->isBlank()) { $this->hadBlankLine = true; $this->linesAfterBlank = 0; } elseif ($this->hadBlankLine) { $this->linesAfterBlank++; } // List blocks themselves don't have any markers, only list items. So try to stay in the list. // If there is a block start other than list item, canContain makes sure that this list is closed. return BlockContinue::at($cursor); } } __halt_compiler();----SIGNATURE:----KvqpNCmH5tL7z7Apndr5JT8j0YqgepExnke9yxtkbn2iNOCLD2aTUvhY1gJ7bgZSTbMx7KfdsLx940Q3So5KqgXTZPWF4ZkNrndXcsb2riXKWuk4esigNyqk1UJdCGMciB849aUWfVCjcuSNlzfG4iI+LtHRJjvXD/OQQZLoFAhof8BIJWjRyG0YwVIRAZWncBlfwDacQGFjaKAvwQum1U2rexAf6ELFAvXOmgmdjjbAYCtB83bO4m8oKBVaezhDZdn+lzI8F8635ca9pLbIbY4LWFy2hFksqx4UnN+EpowUZSylzozWJsBqpZVj79VfHI0vJBRHts2sQnk5DPP44XM7eG8v7HsbwD3S6wX/DIi/fW4PTlf49iojNmo9HmZRBHQBJON42Rc3ovP3uHF2ixqIZ4TplOqoNIomYRsttf4TpgWR21QiPrgmEASnvjWwIfjIKmjij/jflN8YeJTv2v3YlWaJbwYi3jwSnn0ItRICn4Lr6M0dOF47dJnXG/SDGzR7BOkJQmYaSNU4yxRNRjOhrzWPFafAtjBbMZ75wgI0vPPolUIvKR2ksAFFIX8UnS+VR38FzSRCCGP3aE4TFHn41W/gYtNY5mLcLI4IhFGJBzHTZYMdWVeawma+MT/d7fzADJTGSTguPrd+SZr8zYDwuMR4lUSPMMtEO9437uk=----ATTACHMENT:----ODQ0ODQxOTc1NzQzNzg2NyAzMDkzMDg4NDE1NTMwOTc2IDEyMzU1NzU1NzkzMTMzMjk=