/** * Adds a parse error to the system * * @param \phpDocumentor\Parser\Events\LogEvent $data Contains the type, * message, line and code element. * * @return void */ public function addParserMarker($data) { $this->parse_markers[] = array($data->getType(), $data->getMessage(), $data->getLine(), $data->getCode()); }