Skip to content

Commit e38b31e

Browse files
Merge pull request #130 from TheDragonCode/1.x
Removed `filename` method and related documentation from presets
2 parents ab9d8fe + ba35e6f commit e38b31e

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

docs/snippets/receipt-instagram-feed.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,4 @@ public function item(Model $model): FeedItem
4949
],
5050
]);
5151
}
52-
53-
public function filename(): string
54-
{
55-
return 'instagram.xml';
56-
}
5752
}

docs/topics/presets.topic

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636

3737
<code-block lang="php" src="receipt-instagram-feed.php" include-lines="5-" />
3838

39-
<p>
40-
If needed, you can also override the <code>filename</code> method to change the output file name.
41-
</p>
42-
4339
<p>
4440
Technically, preset classes are the same as the base
4541
<code>Feed</code> class, except they include the service-specific logic they target, including how information blocks and items are built.

0 commit comments

Comments
 (0)