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.
- returntype
-
string
- getTitle ( )
-
Get the title. Used and required for RSS.
- returntype
-
string
- getLink ( )
-
Get the link. Used and required for RSS.
- returntype
-
string
- getWidth ( )
-
Get the width of the image. Use for RSS.
- returntype
-
int
- Returns:
-
144>
- getHeight ( )
-
Get the height of the image. Use for RSS.
- returntype
-
int
- Returns:
-
400>
- getDescription ( )
-
Get the description of the image. Use for RSS.
- returntype
-
string