lib/classes/Swift/Mime/SimpleMimeEntity.php
public function getId()
    {
        $tmp = (array) $this->getHeaderFieldModel($this->getIdField());

        return $this->headers->has($this->getIdField()) ? current($tmp) : $this->id;
    }
public function getId()
    {
        $tmp = (array) $this->getHeaderFieldModel($this->getIdField());

        return $this->headers->has($this->getIdField()) ? current($tmp) : $this->id;
    }
public function getId ( ) { $ tmp = ( array ) $ this -> getHeaderFieldModel ( $ this -> getIdField ( ) ) ; return $ this -> headers -> has ( $ this -> getIdField ( ) ) ? current ( $ tmp ) : $ this -> id ; }
Get the CID of this entity.

The CID will only be present in headers if a Content-ID header is present.

@return string
Get the CID of this entity .