lib/classes/Swift/Mime/SimpleMessage.php
private function getTopNestingLevel()
    {
        $highestLevel = $this->getNestingLevel();
        foreach ($this->getChildren() as $child) {
            $childLevel = $child->getNestingLevel();
            if ($highestLevel < $childLevel) {
                $highestLevel = $childLevel;
            }
        }

        return $highestLevel;
    }
private function getTopNestingLevel()
    {
        $highestLevel = $this->getNestingLevel();
        foreach ($this->getChildren() as $child) {
            $childLevel = $child->getNestingLevel();
            if ($highestLevel < $childLevel) {
                $highestLevel = $childLevel;
            }
        }

        return $highestLevel;
    }
private function getTopNestingLevel ( ) { $ highestLevel = $ this -> getNestingLevel ( ) ; foreach ( $ this -> getChildren ( ) as $ child ) { $ childLevel = $ child -> getNestingLevel ( ) ; if ( $ highestLevel < $ childLevel ) { $ highestLevel = $ childLevel ; } } return $ highestLevel ; }
Get the highest nesting level nested inside this message
Get the highest nesting level nested inside this message