| Total Complexity | 0 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 2 | abstract class FeedItem { |
||
| 3 | abstract function get_id(); |
||
|
|
|||
| 4 | abstract function get_date(); |
||
| 5 | abstract function get_link(); |
||
| 6 | abstract function get_title(); |
||
| 7 | abstract function get_description(); |
||
| 8 | abstract function get_content(); |
||
| 9 | abstract function get_comments_url(); |
||
| 10 | abstract function get_comments_count(); |
||
| 11 | abstract function get_categories(); |
||
| 12 | abstract function get_enclosures(); |
||
| 13 | abstract function get_author(); |
||
| 14 | abstract function get_language(); |
||
| 15 | } |
||
| 17 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.