Jyxo\Mail\Parser::checkIfParsed PHP Method

checkIfParsed() private method

Parses a message if not already parsed.
private checkIfParsed ( )
    private function checkIfParsed()
    {
        try {
            if (empty($this->structure)) {
                $this->setStructure();
            }
            if (empty($this->defaultPid)) {
                $this->defaultPid = $this->getDefaultPid();
            }
        } catch (\Jyxo\Mail\Parser\EmailNotExistException $e) {
            throw $e;
        }
    }