Brotkrueml\FeedGenerator\Contract\EnclosureInterface

interface Brotkrueml\FeedGenerator\Contract\EnclosureInterface

Interface for an enclosure. Used in Atom and RSS feeds.

getUri()

Get the URI.

Return type

string

getType()

Get the type, for example "video/mp4". Return empty string to omit in output.

Return type

string

getLength()

Get the length in bytes. Return 0 to omit in output

Return type

int

Returns

max>