public function parseFileContent($content) { if ($this->parsedown === null) { throw new LogicException("Unable to parse file contents: Parsedown instance wasn't registered yet"); } return $this->parsedown->text($content); }