Brotkrueml\FeedGenerator\Contract\ImageInterface

interface Brotkrueml\FeedGenerator\Contract\ImageInterface

Interface for an image. Used in Atom and RSS.

getUrl()

Get the URL of the image. Required.

Return type

string

getTitle()

Get the title. Used and required for RSS.

Return type

string

Get the link. Used and required for RSS.

Return type

string

getWidth()

Get the width of the image. Use for RSS.

Return type

int

Returns

144>

getHeight()

Get the height of the image. Use for RSS.

Return type

int

Returns

400>

getDescription()

Get the description of the image. Use for RSS.

Return type

string