.. Generated by https://github.com/TYPO3-Documentation/t3docs-codesnippets ================================================================================ Brotkrueml\\FeedGenerator\\Contract\\AttachmentInterface ================================================================================ .. php:namespace:: Brotkrueml\FeedGenerator\Contract .. php:interface:: AttachmentInterface Interface for an attachment (enclosure). Used in RSS and JSON feeds. .. php:method:: getUrl() Get the URL. :returntype: string .. php:method:: getType() Get the type, for example "video/mp4". Return empty string to omit in output. :returntype: string .. php:method:: getLength() Get the length in bytes. Return 0 to omit in output :returntype: int :returns: max>